fix admin.py
parent
cb984ac6ce
commit
14debd55d3
|
@ -5,7 +5,7 @@ from django.contrib import admin
|
||||||
class UserProfileAdmin(admin.ModelAdmin):
|
class UserProfileAdmin(admin.ModelAdmin):
|
||||||
list_display = ("user", "is_pro", "stripe_id", "teams_beta_seen")
|
list_display = ("user", "is_pro", "stripe_id", "teams_beta_seen")
|
||||||
list_filter = ["teams_beta_seen", "teams_beta_applied"]
|
list_filter = ["teams_beta_seen", "teams_beta_applied"]
|
||||||
search_fields = ("user__username")
|
search_fields = ["user__username"]
|
||||||
|
|
||||||
|
|
||||||
admin.site.register(UserProfile, UserProfileAdmin)
|
admin.site.register(UserProfile, UserProfileAdmin)
|
||||||
|
|
Loading…
Reference in New Issue