django-rest-framework/rest_framework/authtoken
Carlton Gibson e2bd3b6a57
Adjusted token admin to map to user ID. (#7341)
Closes #6131.

* Adds a proxy model for Token that uses the user.pk, rather than it's own.
* Adjusts Admin to map back from User ID to token instance.
2020-06-15 11:43:09 +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 Adjusted token admin to map to user ID. (#7341) 2020-06-15 11:43:09 +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 Adjusted token admin to map to user ID. (#7341) 2020-06-15 11:43:09 +01:00
serializers.py Fix schema generation for ObtainAuthToken view. (#7211) 2020-03-03 13:27:34 +01:00
views.py Fix schema generation for ObtainAuthToken view. (#7211) 2020-03-03 13:27:34 +01:00