I keep seeing
DEBUG Exception while resolving variable 'exception_type' in template 'unknown'.
in my django logs and then
VariableDoesNotExist: Failed lookup for key [exception_type] in
followed by a string representation of the list of dictionaries containing the query, and the entire settings.py file.
Another example:
DEBUG Exception while resolving variable 'lastframe' in template 'unknown'
I feel like I just donβt have enough information to debug this. All I know is a variable called exception_type in an unknown template. My code does not contain the string "exception_type" anywhere.
How can I debug this? Where should I look?
- Ubuntu 14.04
- Python 2.7.6
- Django 1.11
epalm source share