#16296: django.contrib.comments could offer a config option for default order
-------------------------------------+-------------------------------------
Reporter: FunkyBob | Owner: FunkyBob
Type: New | Status: new
feature | Component: contrib.comments
Milestone: | Severity: Normal
Version: 1.3 | Keywords: comments
Resolution: | Has patch: 1
Triage Stage: Design | Needs tests: 0
decision needed | Easy pickings: 0
Needs documentation: 0 |
Patch needs improvement: 0 |
UI/UX: 0 |
-------------------------------------+-------------------------------------
Changes (by anonymous):
* needs_better_patch: => 0
* stage: Unreviewed => Design decision needed
* needs_tests: => 0
* needs_docs: => 0
Comment:
`contrib.comments` is already a bit bloated and I'd be wary of adding more
settings, especially considering the fact that it already is possible to
have entirely customised comment models.
Your proposal is not acceptable as-is because there would be a confusion
from a developer's perspective as to what the setting applies to (i.e. to
the default ordering, to the feeds, or both?). I also think that accepting
'reverse' isn't ideal -- if anything, you'd only allow to provide an
explicit list/tuple of fields.
Marking as DDN for now to leave a chance for a nice API to be proposed. If
no clean API can emerge, then this would be a wontfix.
--
Ticket URL: <https://code.djangoproject.com/ticket/16296#comment:1>
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 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.