-
-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'ImageSelectWidget' object has no attribute 'template_name' #115
Comments
It looks like a bug, apparently the |
I had a quick patch with the solution you provided, but i am getting another error as |
Sorry @shrawanx I did not see your message. You can either remove the |
Hi, anyone solved this problem? 'ImageSelectWidget' object has no attribute 'template_name' Thanks! |
Hi @shrawanx, i'm trying to fix this problem but it doesn't work, how did you fix it? can you help me? 'ImageSelectWidget' object has no attribute 'template_name' Thanks. |
@tiagolagrecap The problem i faced
I will try to see it and work on it when i get some free time until then, please post your solution here if you find solution. Thanks |
I could get round the error following Pierre's advice. To get past the render error you need to refer to the class attribute not to the local variable. https://github.com/Pierre-Sassoulas/django-survey/blob/master/survey/widgets.py#L21 This renders a blank question however not sure how to configure this so doing some more digging.
` |
When trying to render i.e: survey detail page when the survey consist of a Question with type
select image
then i am getting this error'ImageSelectWidget' object has no attribute 'template_name'
Am i missing something or is this a bug ?
I am currently using
Django==3.1.4
django-survey-and-report==1.3.31
The text was updated successfully, but these errors were encountered: