Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 10 lines (8 sloc) 362 Bytes
from django.contrib import admin
from users.models import UserProfile
class UserProfileAdmin(admin.ModelAdmin):
list_display = ('name','email','organization','mobile')
ordering = ('-created_on',)
search_fields = ('name','email', 'organization')
list_filter = ['organization','service_type']
admin.site.register(UserProfile,UserProfileAdmin)