Skip to content
Snippets Groups Projects
Commit 200b4234 authored by Albert (AJ) St. Aubin's avatar Albert (AJ) St. Aubin
Browse files

Added search to User Demographics Admin page

parent af8954ce
No related merge requests found
......@@ -11,8 +11,9 @@ class UserDemographicsAdmin(admin.ModelAdmin):
"""
Admin for UserDemographics Model
"""
list_display = ('user', 'show_call_to_action')
list_display = ('id', 'user', 'show_call_to_action')
readonly_fields = ('user',)
search_fields = ('id', 'user__username')
class Meta(object):
model = UserDemographics
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment