#17508: DateDetailView should accept less specific dates, ie Year/Month or just
Year
-------------------------------+------------------------------------
Reporter: AndrewIngram | Owner: nobody
Type: New feature | Status: new
Component: Generic views | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by hirokiky):
* cc: hirokiky@… (added)
* needs_docs: 0 => 1
* has_patch: 0 => 1
* version: 1.3 => master
* needs_tests: 0 => 1
Comment:
I added a patch.
Now, DateDetail takes a attribute to set the unity of dates named
'''date_separate_unit'''.
The attribute allows a vaule, which '''daily''', '''monthly''' or
'''yearly''':
* daily: /2012/jan/06/blog-entry-name/
* monthly: /2012/jan/blog-entry-name/
* yearly: /2012/blog-entry-name/
How do you feel about this behavior and implementation?
I think it is better to hear someone's opinion.
--
Ticket URL: <https://code.djangoproject.com/ticket/17508#comment:4>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.