from django.conf.urls.defaults import * urlpatterns = patterns('', (r'^stars/', 'django.views.generic.simple.direct_to_template', {'template': 'site/stars/stars_overview.html'}, extra_context= {'category': 'stars', 'subcategory': 'none'}), )
isn´t that supposed to work? did I miss something? thanks, patrick Am 27.02.2007 um 17:36 schrieb Joseph Kocherhans: > > On 2/27/07, va:patrick.kranzlmueller <[EMAIL PROTECTED]> > wrote: >> >> why doesn´t this work? >> (r'^stars/', 'django.views.generic.simple.direct_to_template', >> {'template': 'site/stars/stars_overview.html'}, extra_context= >> {'category': 'stars', 'subcategory': 'none'}), >> >> the error is "invalid syntax". > > You'll need to show more of your surrounding code for us to be able to > help you with this one. The problem in that particular snippet is the > "extra_context=". > > Jospeh > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---