Randomized Include Tag
a randomized version of {% include %} {% rand_include "foo.html","bar.html","zot.html" %}
- tag
- templatetag
- random
- include
- randomized
a randomized version of {% include %} {% rand_include "foo.html","bar.html","zot.html" %}
This was a much better way of incrementing variables that only changed a small amount in name. deltab in #python also said I could have used tuples, but I'm not familiar with them yet, so I added this to a list of things to look into.
This will hide the scrolling output from the development server so you can ssh and run the server in peace, for those of us with only one SSH session active developing on a remote server.
justinlilly has posted 3 snippets.