On 4/4/07, Atilla <[EMAIL PROTECTED]> wrote: > > On 04/04/07, Nathan R. Yergler <[EMAIL PROTECTED]> wrote: > > > > I'm working on an app for a client, and one of the requirements is > > that they be able to re-order objects in the admin interface. I know > > exactly how I'd do with with an object database, but the ideas I've > > come up with for doing it with Django all involve using some tracking > > field, and then updating that to contain the relative order of > > objects. > > > > So... am I missing something obvious here that will let me do with > > with a minimal amount of pain? > > > > Thanks, > > > > Nathan > > What kind of ordering does it have to be and on what amount of items? > Perhaps it could be useful to create a separate Model that defines the > order of items, with a relation to the actual model that defines the > objects themselves. The biggest issue is how to create usable controls > that define the ordering, which is not always a simple thing to > implement.
Arbitrary ordering of dozensis it of items, so I'm not sure an external model would help. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---

