2012-06-26 08:33:29 -07:00
|
|
|
from django.contrib import admin
|
|
|
|
|
|
|
|
from accounts.models import UserProfile
|
|
|
|
|
2015-07-24 18:28:31 -07:00
|
|
|
|
2012-06-26 08:33:29 -07:00
|
|
|
class UserProfileAdmin(admin.ModelAdmin):
|
2015-07-24 18:28:31 -07:00
|
|
|
list_display = ('user', 'is_pro', 'stripe_id', 'gittip_username',
|
|
|
|
'teams_beta_seen')
|
2015-07-22 11:03:06 -07:00
|
|
|
list_filter = ['teams_beta_seen', 'teams_beta_applied']
|
2013-01-13 09:51:25 -08:00
|
|
|
search_fields = ('user__username', 'gittip_username',)
|
2012-06-26 08:33:29 -07:00
|
|
|
|
|
|
|
admin.site.register(UserProfile, UserProfileAdmin)
|