We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 614bd87 commit a02bb79Copy full SHA for a02bb79
rest_framework/authtoken/admin.py
@@ -25,6 +25,7 @@ class TokenAdmin(admin.ModelAdmin):
25
fields = ('user',)
26
ordering = ('-created',)
27
actions = None # Actions not compatible with mapped IDs.
28
+ autocomplete_fields = ("user",)
29
30
def get_changelist(self, request, **kwargs):
31
return TokenChangeList
0 commit comments