Re: urls.py error: unbalanced parenthesis

2009-07-19 Thread Gabriel Gunderson
On Sun, Jul 19, 2009 at 4:02 AM, Rob B (uk) wrote: >         (r'^(?P\d{4}/, 'archive_year', entry_info_dict, This named regular-expression group is missing a ")" It should be: (?P\d{4}) http://docs.djangoproject.com/en/dev/topics/http/urls/#named-groups Best, Gabe --~--~-~--~~

Re: urls.py error: unbalanced parenthesis

2009-07-19 Thread Frédéric Hébert
2009/7/19 Rob B (uk) : > > Getting a unblanced parenthesis error with this urls setup. Not sure > why. The message is pretty self-explanatory. It seems to me that you have forgotten a parenthesis after your first symbolic group named year. Frédéric > urls.py: > from django.conf.urls.defaults im

urls.py error: unbalanced parenthesis

2009-07-19 Thread Rob B (uk)
Getting a unblanced parenthesis error with this urls setup. Not sure why. urls.py: from django.conf.urls.defaults import * from coltrane.models import Entry entry_info_dict = { 'queryset': Entry.objects.all(), 'date_field': 'pub_date', } urlpatterns = patterns('django.vi