2012-06-26 08:33:29 -07:00
|
|
|
from django.contrib import admin
|
|
|
|
|
|
|
|
from accounts.models import UserProfile
|
|
|
|
|
|
|
|
class UserProfileAdmin(admin.ModelAdmin):
|
2015-07-22 11:02:32 -07:00
|
|
|
list_display = ('user', 'is_pro', 'stripe_id', 'gittip_username', 'teams_beta_seen')
|
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)
|