Browse Source

fix admin.py

master
Alison Watson 2 years ago
parent
commit
14debd55d3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      accounts/admin.py

+ 1
- 1
accounts/admin.py View File

@@ -5,7 +5,7 @@ from django.contrib import admin
class UserProfileAdmin(admin.ModelAdmin):
list_display = ("user", "is_pro", "stripe_id", "teams_beta_seen")
list_filter = ["teams_beta_seen", "teams_beta_applied"]
search_fields = ("user__username")
search_fields = ["user__username"]


admin.site.register(UserProfile, UserProfileAdmin)

Loading…
Cancel
Save