Skip to content

Commit

Permalink
Revert PR that adds autocomplete_fields to TokenAdmin, as this break …
Browse files Browse the repository at this point in the history
…some use cases. (#9301)
  • Loading branch information
alexdlaird authored Mar 21, 2024
1 parent 77ef27f commit d7c8dcf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rest_framework/authtoken/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ class TokenAdmin(admin.ModelAdmin):
search_help_text = _('Username')
ordering = ('-created',)
actions = None # Actions not compatible with mapped IDs.
autocomplete_fields = ("user",)

def get_changelist(self, request, **kwargs):
return TokenChangeList
Expand Down

0 comments on commit d7c8dcf

Please sign in to comment.