On Tue, Oct 12, 2010 at 3:32 PM, smallfish <[email protected]> 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-generic-date-based-archive-month -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. 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.

