hum to reformulate simpler,
how can i tell in url.py to use generic.simple, and a extra_context
which will replace
 context_instance=DjangoContext(request) i was using in my view method.

def faq(request):
        return render_to_response('faq', {'section':'faq'},
context_instance=DjangoContext(request),)

VS

urlpatterns.extend(patterns('django.views.generic.simple',
        (r'^cefinban/faq/$', 'direct_to_template', {'template': 'faq'},
extra_context = {"????"}),


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

Reply via email to