AJAXWidgetComboBox in admin?

2 views
Skip to first unread message

zenx

unread,
Aug 29, 2006, 6:24:15 AM8/29/06
to Django users
Just wanted to know if there are any implementations of the
AJAXWidgetComboBox for the ForeignKey relationship inputs in the admin
forms (instead of using raw_id_admin=True)
http://code.djangoproject.com/wiki/AJAXWidgetComboBox

Thank you!

Chris Long

unread,
Aug 29, 2006, 11:55:02 AM8/29/06
to Django users
Nothing right now. Currently the admin interface doesn't use any AJAX,
but it has been under discussion for a while to implement it.

If you did wish to use it, you could probably modify the admin
interface fairly easily to implement it (w/o changing the actual
django.contrib.admin) package. There are other threads and articles on
the wiki about doing this, but feel free to ask if they don't help.

Chris

zenx

unread,
Aug 29, 2006, 5:04:05 PM8/29/06
to Django users
Ok. Thank you Chris!

Matthew Flanagan

unread,
Aug 29, 2006, 7:02:43 PM8/29/06
to django...@googlegroups.com
Hi,

I have a large revamp of this code that i've been meaning to upload to
the wiki for a while. I'll try to do it today or tomorrow. The new
code uses the newer dojo Select widget (which I wrote incidentally :).
I've also written a templatetag to make it easier to use the widget in
your templates.

As for integrating it into the admin: I haven't gotten too far with
that unfortunately. Please let me know if you are successful.

matthew

zenx

unread,
Aug 30, 2006, 8:21:45 AM8/30/06
to Django users
Thanks Matthew!!!

I'm anxious to look at the code :D

Matthew Flanagan

unread,
Aug 31, 2006, 12:32:39 AM8/31/06
to django...@googlegroups.com
Hi,

I've updated the tutorial and code for the AJAX Select widget [1] .
This code is extracted from a larger project so hopefully I've got
everything there. Let me know if you are missing anything.

regards

matthew

[1] http://code.djangoproject.com/wiki/AJAXWidgetComboBox

zenx

unread,
Aug 31, 2006, 5:26:37 AM8/31/06
to Django users
thank you!!!

Reply all
Reply to author
Forward
0 new messages