-
-
Notifications
You must be signed in to change notification settings - Fork 311
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
Fix VariableDoesNotExist exceptions #587
Conversation
These were being thrown if fieldsets and subtitle are missing from the context.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Django's template processor shouldn't raise an exception if a variable is missing.
The exception does not halt execution, but it does appear in the DEBUG logs.
|
The behavior you're showing is typical for Django. If logs are too noisy, you can adjust the logging configuration. Missing context in Django templates is not an issue - For django-constance, tracking all possible context variables would add unnecessary maintenance overhead. UPD: |
I'm closing this. I think it is not necessary. |
These were being thrown if fieldsets and subtitle
are missing from the context.
This commit fixes #586