You've forgotten ")" after `(?P<year>\d{4}`
On Mon, Jan 5, 2009 at 7:30 PM, mangamonk <mark.herrin...@gmail.com> wrote: > > I'm trying to complete the practical django applications tutorial.. > > error at /weblog/ > unbalanced parenthesis > Request Method: GET > Request URL: http://127.0.0.1:8000/weblog/ > Exception Type: error > Exception Value: unbalanced parenthesis > > > /home/mark/django_projects/coltrane/urls.py in <module> > > 7. } > 8. > 9. urlpatterns = patterns('django.views.generic.date_based', > 10. (r'^$', 'archive_index', > entry_info_dict,'coltrane_entry_archive_index'), > 11. (r'^(?P<year>\d{4}/$', 'archive_year', entry_info_dict, > 'coltrane_entry_archive_year'), > 12. (r'^(?P<year>\d{4}/(?P<month>\w{3})/$', 'archive_month', > entry_info_dict, 'coltrane_entry_archive_month'), > 13. (r'^(?P<year>\d{4}/(?P<month>\w{3})/(?P<day>\d{2}/)$', > 'archive_day', entry_info_dict, 'coltrane_entry_archive_day'), > > 14. (r'^(?P<year>\d{4}/(?P<month>\w{3})/(?P<day>\d{2})/(?P<slug>[-\w] > +)/$', 'object_detail', entry_info_dict,'coltrane_entry_detail'), > > > can anyone see the error here? > > > --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---