#15319: _get_next_or_previous_by_FIELD populated from Meta
--------------------------------------------------------+-------------------
Reporter: alexr | Owner: nobody
Status: new | Milestone:
Component: Database layer (models, ORM) | Version: SVN
Resolution: | Keywords:
Triage Stage: Design decision needed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 |
--------------------------------------------------------+-------------------
Comment (by alexr):
Oh, I think the order_with_respect_to meta attribute is similar to this,
and it lives in the Meta class. Similar in that it references a field, and
then adds extra seeking methods on the model. Not sure if we want to try
and remain consistent with that.
It is different in that it can only be ordered with respect to one field,
so it really is more of a 'Model' level option instead of a field level
option.
--
Ticket URL: <http://code.djangoproject.com/ticket/15319#comment:4>
Django <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.