Hello,
I have this urls.py:
info_dict = { "queryset": Entry.objects.all().order_by("-
creationDate"), }
urlpatterns = patterns("",
(r'^(?P<object_id>\d+)/$',
'django.views.generic.list_detail.object_detail',
{ info_dict, 'extra_context':{'CommentForm':CommentForm} }
)
My problem is that I want to pass the info_dict to the generic view
and the CommentForm as extra_context.
How can I do this? I think I somehow mix up the dictionaries....
Thanks,
Florian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---