machinalis / django-template-previewer Goto Github PK
View Code? Open in Web Editor NEWA Django app to allow developers preview templates
License: BSD 3-Clause "New" or "Revised" License
A Django app to allow developers preview templates
License: BSD 3-Clause "New" or "Revised" License
When a template uses block.super, the parser assumes that's the name of a context variable
It requires staticfiles enabled in the configuration. Documentation should mention this.
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
Sometimes it would help to add an arbitrarily named item to the context
At the moment, they aren't properly reported or handled in any way
That would allow one to keep seeing the context, but deciding what part of the preview to see below
All values in the context are now of a generic ContextItem type. It would be nice to have support for other types (booleans, None, etc)
Depending on your window size, it gets somewhat small or too large and hard to scroll
Adding an item should replicate the structure (fields, subfields) of the previous item).
Having to type the whole template name reduces usability, some automatic lookup would be very nice.
It would be helpful to be able to work not only with context items, but also known the list of available blocks and edit their content.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.