URL keyed off of numeric month instead of localized name.
-Nathan

On Sat, Sep 13, 2008 at 6:02 AM, Julian <[EMAIL PROTECTED]> wrote:

>
> hi there,
>
> in my settings.py there is the language specified as "de_de", wich
> works well with things like:
>
> {{{
> blog_entry.timestamp|date:"b"
> }}}
>
> in may, it returns "Mai", wich is german for may.
>
> but i am using the generic views for my blog archive, and monthly
> based i'm doing things like:
>
> {{{
> <li><a href="{% url blog_archive_month year=previous_month|date:"Y",
> month=previous_month|date:"b"|lower %}">Vorheriger Monat</a></li>
> }}}
>
> but i receiven an url like:
>
> blog/2008/mai/
>
> wich turns into an 404 error page, because in this case it should be
> blog/2008/may
>
> what's a solution for my problem?
> >
>

--~--~---------~--~----~------------~-------~--~----~
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