Commit 62819530 authored by ozzeh's avatar ozzeh

Fix user__icontains issue

parent b706aea6
......@@ -24,7 +24,7 @@ class TESTOAuth2DataAdmin(admin.ModelAdmin):
list_display = ('user', 'primary_character')
readonly_fields = ('user',)
search_fields = ('username',)
search_fields = ('user__username',)
ordering = ('user',)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment