Oh for $hit's sake - how can I be so blind?!

Thanks Malcom,
Brandon

On Oct 7, 7:48 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Tue, 2008-10-07 at 16:01 -0700, Brandon Taylor wrote:
> > Hi everyone,
>
> > Here is my code:
>
> > entry_info_dict = {
> >     'queryset' : Entry.live.all(),
> >     'date_field' : 'pub_date',
> >     'allow_future' : True
> > }
>
> > urlpatterns = patterns('django.views.generic.date_based',
> >     url(r'^blog/(?P<year>)\d{4}/$', 'archive_year', entry_info_dict,
> > name='archive_year'),
> > )
>
> Your regular expression is incorrect. You aren't capturing anything in
> the "year" parentheses.
>
> Regards,
> Malcolm
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to