blob: 5bf19e76268b73db1d664a27581a67c83fb5d1b2 (
plain)
1
2
3
4
5
6
7
8
9
10
|
from django.contrib import admin
from .models import UserProfile
class UserProfileAdmin(admin.ModelAdmin):
list_display = ('user', )
admin.site.register(UserProfile, UserProfileAdmin)
|