Skip to content

Commit d7c8dcf

Browse files
authored
Revert PR that adds autocomplete_fields to TokenAdmin, as this break some use cases. (#9301)
1 parent 77ef27f commit d7c8dcf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

rest_framework/authtoken/admin.py

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ class TokenAdmin(admin.ModelAdmin):
2828
search_help_text = _('Username')
2929
ordering = ('-created',)
3030
actions = None # Actions not compatible with mapped IDs.
31-
autocomplete_fields = ("user",)
3231

3332
def get_changelist(self, request, **kwargs):
3433
return TokenChangeList

0 commit comments

Comments
 (0)