On Dec 13, 2007 9:58 AM, sector119 <[EMAIL PROTECTED]> wrote: > urlpatterns = patterns('django.views.generic', > (r'^location/$', 'list_detail.object_list', location_list_info, > name='locations-location_list'), > )
In order to name your URLpatterns, you'll need to use the url() function. urlpatterns = patterns('django.views.generic', url(r'^location/$', 'list_detail.object_list', location_list_info, name='locations-location_list'), ) Notice "url" at the beginning of the pattern. That's key. -Gul --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---