|Version 16 (modified by robhudson, 5 years ago) (diff)|
Original Admin UI proposal: http://groups.google.com/group/django-developers/browse_thread/thread/1edf77c9c8b1101d/4ecda5e4c982c7e1
Updated branch on Github: http://github.com/dgouldin/django/tree/soc2009/admin-ui
- Commits should be broken up into a series of patches -- 1 for each incremental improvement or feature (e.g. autocomplete, selector inlines, etc).
- All the JS for the admin should be minified, but we need to ship maximized versions too, for ease of editing, and then have a build process do the minification.
- Note: This may be better saved for last.
- Document where js libs come from for ease of checking on new versions and finding full source.
Suggested individual patches.
- An OrderField as suggested here: http://groups.google.com/group/django-developers/browse_thread/thread/480662576c49edd/3aca77d981804528.
- Add django.forms.formset.empty_form method.
- Admin Inline updates, including
- Dynamically add new inline on page
- Drag and drop inline re-ordering if order_field provided on ModelAdmin class.
- Selector Inlines
- ForeignKey autocomplete
- ManyToMany autocomplete
Summary of commits on the soc2009/admin-ui branch:
- jQuery itself.
- Stacked Inline add new inline dynamically.
- Selector Inlines (based on Wilson Miner's mockup http://media.wilsonminer.com/images/django/related-objects-stacked.gif)
- Tabular Inline ordering. Given an order_field on the TabularInline admin object.
- models.fields.OrderField added, subclass of IntegerField with default=0.
- ForeignKeySearchInput widget, which does autocompletion on Foreign key fields.
- ManyToManySearchInput, autocompletion for m2m fields.
Possibly related tickets: