2012-06-26 08:33:29 -07:00
|
|
|
from django.contrib import admin
|
|
|
|
|
|
|
|
from accounts.models import UserProfile
|
|
|
|
|
|
|
|
|
|
|
|
class UserProfileAdmin(admin.ModelAdmin):
|
|
|
|
list_display = ('user', 'is_pro',)
|
2012-07-11 23:03:46 -07:00
|
|
|
search_fields = ('user__username',)
|
2012-06-26 08:33:29 -07:00
|
|
|
|
|
|
|
admin.site.register(UserProfile, UserProfileAdmin)
|