Make erdnaxe be happy
This commit is contained in:
parent
3eb0c185f2
commit
d0206fb790
30 changed files with 215 additions and 205 deletions
|
|
@ -18,9 +18,9 @@ class ProfileInline(admin.StackedInline):
|
|||
|
||||
|
||||
class CustomUserAdmin(UserAdmin):
|
||||
inlines = (ProfileInline, )
|
||||
inlines = (ProfileInline,)
|
||||
list_display = ('username', 'email', 'first_name', 'last_name', 'is_staff')
|
||||
list_select_related = ('profile', )
|
||||
list_select_related = ('profile',)
|
||||
form = ProfileForm
|
||||
|
||||
def get_inline_instances(self, request, obj=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue