Re: auto-generated template for generic views

2005-09-15 Thread Johan
Indeed for the admin index it's there. But using django-admin.py there is no option. Or must I use something else?

Re: auto-generated template for generic views

2005-09-14 Thread Andreas
Boffbowsh wrote: > It's there already Johan How does it work? As far as I can see it's already possible to create an admin-like index view. Auto-generated templates for the CRUD generic views would be extremely useful, but I don't see how you would create them with the current Django version. An

Re: auto-generated template for generic views

2005-09-14 Thread Boffbowsh
It's there already Johan, it's not something to look forward to

Re: auto-generated template for generic views

2005-09-11 Thread Johan
Also a big +1. using django-admin.py to generate the template is not only great for generating a standard template, but also an ideal tool for people like me who learn best by example. Looking forward for this feature.

Re: auto-generated template for generic views

2005-09-08 Thread Rachel Willmer
Following up on my original question, now I've read a bit more about it, the answer is of course to just use the admin interface. :-) If you run django-admin.py adminindex , it will auto-generate a copy of the guts of the index page needed to display the admin interface. You can copy that into yo

Re: auto-generated template for generic views

2005-09-05 Thread Rachel Willmer
> 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 a

Re: auto-generated template for generic views

2005-09-04 Thread Carlo C8E Miron
2005/9/4, Adrian Holovaty <[EMAIL PROTECTED]>: > 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

Re: auto-generated template for generic views

2005-09-04 Thread Adrian Holovaty
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

auto-generated template for generic views

2005-09-04 Thread Rachel Willmer
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 automaticall