ojii/django-sekizai — Issue #11: [Feature Request] clarify why an invalid context exists.
Author: kezabelle
Created: 2012-02-15 22:37:43+00:00
State: open

If ```TEMPLATE_DEBUG``` is true, with some additional code complexity, [validate_context](https://github.com/ojii/django-sekizai/blob/master/sekizai/templatetags/sekizai_tags.py#L10) could feasibly be more informative about why ```{% addtoblock %}``` may've failed. Specifically, it could actually do the necessary checks to test whether the context processor is installed, or a ```SekizaiContext``` is being used, and raise ```TemplateSyntaxError``` with more definitive messages explaining the nature of the problem.