Hello ev,

On Dec 30, 2:19 pm, ev <evpozdnia...@gmail.com> wrote:

> Example: I have a playlist and I want to have a possibility to change
> songs order (manually, not by name or raiting).
>
> This task could be done by adding to the model an integer field (to
> remember the order):
> ordering=models.IntField()

An order field seems to be a standard way of doing it.  I do it that
way for some of my models.

> I'd like to know, if there is any feature to realize such a
> functionality in Django.

Could you be a little more explicit about what you want to do?

Are you wondering if Django has a GUI to control the order of items in
a list such as a song playlist?  I'm pretty sure the answer is no.
However, you can use 3rd party utilities and integrate them into your
website.  Here is one such solution < 
http://www.djangosnippets.org/snippets/1053/
>.

Toodle-looooooooo.......
creecode

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to