Templates are parsed on every request?

2011-03-24 Thread Fett
Hi, I just had to implement some custom template tags, and figured out that template files are parsed each time a request is received (more precisely, I noticed this behavior while in debug mode, but didn't expect to have it with debug = False). I may have missed something, but I thought the only

Re: Error message when viewing admin? (ViewDoesNotExist at /admin/)

2007-10-23 Thread DJango Fett
The same thing happens to me. I was going through the Tutorial to make the Poll application. The admin url was working fine. When I added in the patterns for the poll app, I get the same error you did. If I comment out the admin line, the poll lines work fine. If I comment out the poll lines,

Re: Forms vs. Admin?

2007-10-02 Thread DJango Fett
All, I am new to DJango and web frameworks. I've gone through the tutorial to make the Poll application. The way I see it, the Admin module is for the site builders to have an automatic interface to maintain the look-up tables (sometimes called domain tables). These are the tables that popul

Re: Add field in models django 0.96

2007-09-28 Thread DJango Fett
t; On Sep 26, 11:33 pm, DJango Fett <[EMAIL PROTECTED]> wrote: > > > > > Here are the steps I would use to add a field to an existing model > > without having to write your own SQL and without the risk of getting > > your model code out of sync with your database tabl

Re: Add field in models django 0.96

2007-09-26 Thread DJango Fett
Here are the steps I would use to add a field to an existing model without having to write your own SQL and without the risk of getting your model code out of sync with your database table. This code uses the same objects in the Tutorial on http://www.djangoproject.com/documentation/0.96/tutoria