django-template-previewer
django-template-previewer copied to clipboard
A Django app to allow developers preview templates
Also added regression tests for the things that had to be fixed during the upgrade
Some improvements: - Style improved. - Now box is draggable horizontally. - Screenshots updated to last changes.
This change allows to use `django-template-previewer` in Django 1.5+
It requires staticfiles enabled in the configuration. Documentation should mention this.
At the moment, they aren't properly reported or handled in any way
When a template uses block.super, the parser assumes that's the name of a context variable
Having to type the whole template name reduces usability, some automatic lookup would be very nice.
Mosts of the parser tests should be grabbed from my original work on the django-ninja-plugin. The rest of the code is needing some good tests
That would allow one to keep seeing the context, but deciding what part of the preview to see below
Depending on your window size, it gets somewhat small or too large and hard to scroll