2012-06-26 08:33:29 -07:00
|
|
|
from accounts.models import UserProfile
|
2015-07-24 18:39:25 -07:00
|
|
|
from django.contrib import admin
|
2012-06-26 08:33:29 -07:00
|
|
|
|
2015-07-24 18:28:31 -07:00
|
|
|
|
2012-06-26 08:33:29 -07:00
|
|
|
class UserProfileAdmin(admin.ModelAdmin):
|
2019-07-29 07:13:58 -07:00
|
|
|
list_display = ("user", "is_pro", "stripe_id", "teams_beta_seen")
|
2019-01-23 15:52:55 -08:00
|
|
|
list_filter = ["teams_beta_seen", "teams_beta_applied"]
|
2019-07-29 07:18:51 -07:00
|
|
|
search_fields = ["user__username"]
|
2019-01-23 15:52:55 -08:00
|
|
|
|
2012-06-26 08:33:29 -07:00
|
|
|
|
|
|
|
admin.site.register(UserProfile, UserProfileAdmin)
|