I was just messing around with my sites urlconf to keep it organized
and manage clean things up a bit. I make use of generic views quite a
bit and they really save me a lot of time. One of the things that I
noticed however as I was trying to combine a lot of "info_dicts" was
that the generic views (except archive_day) don't accept extra key
word arguments.

I realize that passing extra arguments to a function is less than
ideal, but sometimes it is nice to have one "info_dict" that defines
paginate, date_field, slug, etc. for model views. Obviously this
caused problems with a lot of the generic view functions, but that
easily rectified by adding **kwargs as an extra argument.

I don't know if this is something that would be right to have in the
default views, but I was interested in starting a conversation to the
pros and cons to this approach.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to