Undefined Template Variables - linuxsoftware/ls.joyous GitHub Wiki
Some of Joyous’s templates, rely upon the silence of the template system when a nonexistent variable is encountered. This generates debug messages when the logging level for django.template is set to DEBUG. However Joyous is working correctly and these are not errors. The same situation also applies with some Wagtail and Django-Admin templates.
Update
Since v1.1.0 Joyous will provide defaults for otherwise undefined template variables.
Read more
- https://docs.djangoproject.com/en/stable/ref/templates/api/#invalid-template-variables
- https://docs.djangoproject.com/en/stable/topics/logging/#django-template
- https://code.djangoproject.com/ticket/28526
- https://groups.google.com/forum/#!topic/django-users/6Ve9dcv23sI/discussion
- https://groups.google.com/forum/#!topic/django-developers/zdULZcmAWNw/discussion
Template variables which are sometimes undefined
listLink
,weeklyLink
andmonthlyLink
injoyous/includes/events_view_choices.html
event.extra_information
andevent.cancellation_details
injoyous/includes/event_item.html
Example message
Exception while resolving variable 'listLink' in template 'joyous/calendar_month.html'.