darklow / django-suit

Modern theme for Django admin interface
http://djangosuit.com/
Other
2.33k stars 705 forks source link

Django autocomplete fields #497

Open codingjoe opened 8 years ago

codingjoe commented 8 years ago

Hi,

I'm currently writing a new autocomplete field feature for Django admin.

Since this is one of the biggest 3rd party packages using Django admin, would you mind checking if it works in combination?

You can find the feature branch here: https://github.com/django/django/pull/6385

Simply add autocomplete_fields as you would add raw_id_fields. It should work for foreign keys and m2m fields.

Cheers, Joe

darklow commented 8 years ago

@codingjoe Nice work and great feature, i will definitely take a look. For upcoming v2 i just implemented similar functionality using django-select2 app, but it would be great to see native support using simple autocomplete_fields parameter.

codingjoe commented 8 years ago

@darklow thanks I'm flattered, I maintain django-select2 ;) A lot of knowledget has been passed onto this pull-request.