admin-interface: move up/down proposal

19 views
Skip to first unread message

va:patrick.kranzlmueller

unread,
Dec 19, 2006, 11:09:31 AM12/19/06
to django-d...@googlegroups.com
we´ve integrated the capability of moving items in the admin change-
list acc. to a field called "position".

screenshots are here:
http://www.vonautomatisch.at/django/move/index.html

question is:
is someone interested in abstracting the integration, e.g. using some
kind of "move_by"-field in the admin-section of the models.
i can share the files, that´s not the problem. but unfortunately, I´m
currently not capable of doing the move_by-field.

thanks,
patrick

Chad Maine

unread,
Dec 19, 2006, 12:17:37 PM12/19/06
to django-d...@googlegroups.com
I've built similar things in django myself, although they never looked as nice as that. :)  I'd love to take a look at what you've got.

Chad

Lakin Wecker

unread,
Jan 20, 2007, 12:56:30 PM1/20/07
to django-d...@googlegroups.com
I'd also be interested in looking at the files as as we were considering implementing this for a project we're working on.  Maybe instead, we can take the time to abstract this into a field.

Lakin

Konstantin Khilkevitch

unread,
Jan 21, 2007, 11:05:21 AM1/21/07
to django-d...@googlegroups.com
I believe ticket 13, now in accepted queue, deals with this
functionality: http://code.djangoproject.com/ticket/13


Konstantin

Jason Davies

unread,
Jan 22, 2007, 6:40:08 AM1/22/07
to Django developers
Konstantin Khilkevitch wrote:

> I believe ticket 13, now in accepted queue, deals with this
> functionality: http://code.djangoproject.com/ticket/13

I'm not sure it's exactly the same, as ticket #13 only deals with the
ordering of related objects with respect to a particular object. It
would be useful to be able to order objects in and of themselves, too.

Jason

stuff4ash

unread,
Jan 22, 2007, 2:28:35 PM1/22/07
to Django developers
looks very nice, would also need something like that in a project i am
working on.

stadtkinowien? :) servus! :D

On Dec 19 2006, 5:09 pm, "va:patrick.kranzlmueller"

patrick k.

unread,
Jan 22, 2007, 2:48:36 PM1/22/07
to django-d...@googlegroups.com
sorry for the delay, here is the code:

models.py
http://dpaste.com/hold/4898/

views.py
http://dpaste.com/hold/4899/

change_list.html
http://dpaste.com/hold/4900/

the change_list may look a bit weird (due to the whole js-code and
the additional styles).

patrick

stuff4ash

unread,
Jan 22, 2007, 4:22:12 PM1/22/07
to Django developers
thx patrick. just noticed you also wrote the filebrowser. very nice
work.

cheers!
ashley


On Jan 22, 8:48 pm, "patrick k." <patr...@vonautomatisch.at> wrote:
> sorry for the delay, here is the code:
>
> models.pyhttp://dpaste.com/hold/4898/
>
> views.pyhttp://dpaste.com/hold/4899/
>

> change_list.htmlhttp://dpaste.com/hold/4900/

Reply all
Reply to author
Forward
0 new messages