On Dec 30, 3:43 am, Florian Lindner <[EMAIL PROTECTED]> wrote:
> 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
Try this:
dict(info_dict, extra_context={'CommentForm'
Hello,
I have this urls.py:
info_dict = { "queryset": Entry.objects.all().order_by("-
creationDate"), }
urlpatterns = patterns("",
(r'^(?P\d+)/$',
'django.views.generic.list_detail.object_detail',
{ info_dict, 'extra_context':{'CommentForm':CommentForm} }
)
My problem is that I want
2 matches
Mail list logo