Some refinements to the admin interface for objects and players.
This commit is contained in:
parent
40ff9eaa67
commit
fbd1b5223b
2 changed files with 2 additions and 2 deletions
|
|
@ -135,7 +135,6 @@ class PlayerDBAdmin(BaseUserAdmin):
|
|||
inlines = [PlayerInline]
|
||||
add_form_template = "admin/players/add_form.html"
|
||||
change_form_template = "admin/players/change_form.html"
|
||||
change_list_template = "admin/players/change_list.html"
|
||||
fieldsets = (
|
||||
(None, {'fields': ('username', 'password', 'email')}),
|
||||
('Website profile', {'fields': ('first_name', 'last_name'),
|
||||
|
|
@ -167,4 +166,4 @@ class PlayerDBAdmin(BaseUserAdmin):
|
|||
typeclass=typeclass,
|
||||
player_dbobj=playerobj)
|
||||
|
||||
admin.site.register(PlayerDB, PlayerDBAdmin)
|
||||
admin.site.register(PlayerDB, PlayerDBAdmin)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue