Re: extra arguments in generic views

2008-03-27 Thread Erik Vorhes
That's probably a discussion for the django-developers list, http://groups.google.com/group/django-developers . Unless those changes happen, you're likely best off creating multiple dictionaries or extending them in the individual url dict. On Thu, Mar 27, 2008 at 12:49 PM, Michael <[EMAIL PROTEC

Re: extra arguments in generic views

2008-03-27 Thread Michael
I guess I didn't explain myself well enough. 90% of the views on my site don't need anything special being passed to a wrapper view function or anything. In my "info_dict" I typically define only the items that stretch across the generic views of the entire model, typically queryset and date_fiel

Re: extra arguments in generic views

2008-03-27 Thread Erik Vorhes
This should help: http://www.b-list.org/weblog/2006/nov/16/django-tips-get-most-out-generic-views/ Say you've got this in "yourproj.yourapp.views" (assuming there's a ForeignKey on Thing2): from django.views.generic import date_based from yourproj.yourapp.models import Thing1 from yourproj.your