Alex Laird
|
d7c8dcfc7e
|
Revert PR that adds autocomplete_fields to TokenAdmin, as this break some use cases. (#9301)
|
2024-03-21 12:46:06 +00:00 |
|
Nikita Reznikov
|
4842ad1b6a
|
Add username search field for TokenAdmin (#8927) (#8934)
* Add username search field for TokenAdmin (#8927)
* Sort imports in a proper order (#8927)
|
2023-04-08 14:56:49 +06:00 |
|
Tom Christie
|
a02bb79d87
|
Update admin.py (#8534)
Use `autocomplete_fields` to keep the select user field manageable.
|
2022-12-02 11:40:15 +06:00 |
|
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 |
|
Daniil Okhlopkov
|
4ac0fae75b
|
use @admin decorator (#7022)
|
2020-05-11 09:04:37 +01:00 |
|
Tom Christie
|
044252af1c
|
Version 3.10.1 (#6817)
* Ensure that requiring 'uritemplate' does not also require 'coreapi'
* Don't include autocomplete fields on TokenAuth admin
* Version 3.10.1
|
2019-07-17 14:17:45 +01:00 |
|
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 |
|
José Padilla
|
83c9136c90
|
Cleanup import following PEP 8 style guide
|
2015-06-25 16:10:17 -04:00 |
|
Tom Christie
|
3032a06c9b
|
Use absolute import style
|
2013-07-09 13:12:28 +01:00 |
|
Gertjan Oude Lohuis
|
db863be10c
|
Add an ModelAdmin for easy management of Tokens
|
2013-07-09 12:19:13 +02:00 |
|