#1282: archive_today generic view should accept a month_format parameter instead
of hardcoding '%b'
-------------------------+--------------------------------------------------
Reporter: anonymous | Owner: jacob
Status: new | Component: Generic views
Version: SVN | Resolution:
Keywords: | Stage: Accepted
Has_patch: 1 | Needs_docs: 0
Needs_tests: 1 | Needs_better_patch: 1
-------------------------+--------------------------------------------------
Changes (by gwilson):
* needs_better_patch: 0 => 1
* summary: untranslated MONTHS_3 breaks generic date based views for
some locales when not modifying month_format =>
archive_today generic view should accept a
month_format parameter instead of hardcoding
'%b'
* needs_tests: 0 => 1
* stage: Ready for checkin => Accepted
Comment:
The original intent of this ticket was fixed in [2912], so changing the
title to reflect the still valid problem of the `month_format` hardcoding.
Also, I believe `month_format` should be passed along to `achive_day`,
otherwise it will use `%b` by default. And we also should have some tests
for this generic view.
--
Ticket URL: <http://code.djangoproject.com/ticket/1282#comment:7>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---