Thanks Tom!, it worked perfectly fine. On 12 oct, 12:00, Tom Evans <tevans...@googlemail.com> wrote: > On Tue, Oct 12, 2010 at 3:32 PM, smallfish <smallfish...@gmail.com> wrote: > > \w not include *, try use (.*) > > -- > > blog:http://chenxiaoyu.org twitter: @nnfish > > I'm pretty sure he was just highlighting the differences between the > two URLs; I don't think either actually have '*' in them. > > To the OP: > > Patient: 'It hurts when I do this' > Doctor: 'Dont do that then!' > > Your issue is that your month names are generated in your URL using > one localization, activated by the Request-Language sent by the user's > browser, and another in your urlspec using your default localization. > > The blindingly obvious solution is to not use month names as part of > the URL. The docs[1] say that you can configure > django.views.generic.date_based.archive_month to use numeric indices > by passing a month_format parameter. > > Cheers > > Tom > > [1]http://docs.djangoproject.com/en/1.2/ref/generic-views/#django-views-...
-- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.