Perhaps I'm missing something in the documentation, but is this not
possible with generic views? Here's an example below.

--included module_foo
info_dict = { 'extra_context': {'some_var1': expression} }

urlpatterns = patterns('django.views.generic.list_detail',
        (r'^$', 'object_list', dict(info_dict,
queryset=modelObject.objects.all(), allow_empty= True)),
)

-- project which uses module_foo

urlpatterns = (r'^admin/', include('module_foo'),
                {'foo2' : expression}),)


--~--~---------~--~----~------------~-------~--~----~
 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