Re: Generic Views vs. Admin

2009-06-11 Thread phoebebright
Jashugan, I agree that generic views for non-admins make sense, just be nice to be able to say body_html = auto_generate(model, list/display/update etc.) or whatever admin is doing and stick that in a generic template. {% extends 'base.html' %} {% block main %} {{body_html}} {% endblock %}

Re: Generic Views vs. Admin

2009-06-11 Thread Jashugan
On Jun 11, 8:03 am, phoebebright wrote: > I have spent a good deal time researching this online and in this > group but can find no clear answer. I think the reason why is that it depends on what you want to do. > My instinct is that I should use the former, but do I really have to > go and wri

Generic Views vs. Admin

2009-06-11 Thread phoebebright
I have spent a good deal time researching this online and in this group but can find no clear answer. Generally, I can either use generic views and write a template for each model to list/view/update/delete or I can use admin and do a filter to only show a particular person's entries. My instinc