#14370: Adding support for Autocomplete in contrib.admin
-------------------------------------------+--------------------------------
Reporter: tyrion | Owner: nobody
Status: new | Milestone:
Component: django.contrib.admin | Version: 1.2
Resolution: | Keywords: autocomplete
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------------+--------------------------------
Comment (by anonymous):
Sure, some documentation should be added.
A. I am not good with CSS, In my local copy I included the jquery
lightness theme, with some improvements for contrib.admin...
B. There are already some "reasonable" defaults, the queryset is required
only for non fk/m2m fields.
For fk/m2m fields the queryset if not specified is taken from the field
(with respect to ``limit_choices_to``).
The only required key should be "fields" (which maybe should be renamed to
"search_fields").
D. I don't know how the javascript could be tested. Do other Admin widgets
have javascript tests?
--
Ticket URL: <http://code.djangoproject.com/ticket/14370#comment:10>
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.