django-rest-framework/rest_framework/authtoken
Jan Pieter Waagmeester cfd3ea0996 TokenAdmin: add 'user' to autocomplete_fields (#6762)
TokenAdmin is unusable with a big number of user records (in this case ~150k). Django 2.0 added the [ModelAdmin.autocomplete_fields](https://docs.djangoproject.com/en/stable/ref/contrib/admin/#django.contrib.admin.ModelAdmin.autocomplete_fields) option to use select2 to provide a better user experience.

If support for django 1.11 is dropped, this change would make the `TokenAdmin` usable again.
2019-06-28 13:44:15 +01:00
..
management Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
migrations Dropped Python 2 compatibility. (#6615) 2019-04-30 17:53:44 +02:00
__init__.py enhancement #3886 Internationalization in admin interface rest_framework.authtoken 2016-02-01 13:20:16 +05:00
admin.py TokenAdmin: add 'user' to autocomplete_fields (#6762) 2019-06-28 13:44:15 +01:00
apps.py Replace all usage ugettext functions with the non-u versions (#6634) 2019-05-01 07:49:54 +02:00
models.py Replace all usage ugettext functions with the non-u versions (#6634) 2019-05-01 07:49:54 +02:00
serializers.py Replace all usage ugettext functions with the non-u versions (#6634) 2019-05-01 07:49:54 +02:00
views.py Import coreapi from rest_framework.compat, not directly. (#5921) 2018-04-05 15:07:49 +02:00