I want to be able to change the design of the website based on the content in my database. For example: I have a list of instances of objects that is being pulled from a database, and will be used to
I am following a book (Practical Django Projects 2nd Ed.), and I have run across an error that I cannot figure out.
I have a registration page,which has few steps. Each step refreshes the content of the page with ajax, and uses its own template. In templates I have some js code for managing actions. Unfortunately a
EMP_CHOICES = ( (0,\'-- Select --\'), (1,\'Good\'), (2,\'Average\'), ) class EMPFeedback(models.Model): user_choices = models.IntegerField(choices=EMP_CHOICES)
I am learning Django for one of my web projects. Facing difficulties to append css,jquery file in my project.
I am caching html within a few templates e.g.: {% cache 900 stats %} {{ stats }} {% endcache %} Can I access the cache using the low level library? e.g.
First of all, a django newbie, so take it easy ;) I\'m trying to do some thumbnails within a for loop - the next thing will be Pagination, or group_by, but one problem at a time ;)
In template: {% blocktrans with event.title|capfirst as title and event.event_date|date:\"d/m/Y\" as event_date%}
Got the strangest problem, and it does not make sense. I have been through the code like many times and at my wits end trying to figure out what the issue is. Basically testing a site with firefox and
I\'m using the django-compressor app in Django 1.2.3 to minify and merge a number of included CSS and JS files. In a base template, I have