On 9/4/05, Rachel Willmer <[EMAIL PROTECTED]> wrote: > I want to use the generic view mechanism to add/change/delete but I > don't want to have to write my own form template for each page. > > I'd like it to work just like the admin interface does. Is it > possible/sensible to hook into the admin code which seems to use > add_stage/change_stage to automatically generate the templates? Or is > there a better way of doing this?
That's a really interesting idea. I think it'd be better to "statically" generate the templates a single time, rather than have Django create the templates automatically, because the former would allow people to custom the templates' look and feel. Maybe a "django-admin.py formtemplate app" command? What do you think? Adrian -- Adrian Holovaty holovaty.com | djangoproject.com | chicagocrime.org