I have a middleware that does some processing. On certain conditions it raises an exception and the user sees my 500.html template - correctly responding to 500 http status.
I\'m having some trouble figuring out the best/Djangoic way to do this. I\'m creating something like an interactive textbook. It has modules, which are more or less like chapters. Each module page nee
I just installed django-compress into /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/compress.
I\'m thinking a bit about the concept of Django aggregates. I don\'t quite \"get\" how they can be used in my case. Basically i have a three-tier hierarchy of objects in my model, and the lowest objec
Using Django templates in Google App Engine (on Python), is it possible to compare a template variable to an integer in an {% if %} block?
I want to create a list of records with checkboxes on the left side....kinda like the inbox in Gmail.Then if a user selects some or all of these checkboxes, then the selected record(s) can be updated
I would like to have AppEngine render an html page that auto scrolls to an html anchor point.I\'m not sure how and where to pu开发者_运维百科t that type of instruction.
Suppose my template has in it something like {% block subject %}my subject{% endblock %} and I load this templa开发者_如何学JAVAte with tmpl = loader.get_template(\'mytemplate.html\'), how can I extra
I have been using the Django Messaging Framework to display messages to a user in the template. I am outputting them to the template like this:
Can someone please help me figure out a way to achieve the following (see snippets below) in Django templates?I know that you cannot use more than one extends, but I am new to django and I do not know