Some refinements to the admin interface for objects and players.

This commit is contained in:
Kelketek 2013-07-20 12:42:10 -05:00
parent 40ff9eaa67
commit fbd1b5223b
2 changed files with 2 additions and 2 deletions

View file

@ -64,6 +64,7 @@ class ObjectDBAdmin(admin.ModelAdmin):
list_display_links = ('id', 'db_key')
ordering = ['db_player', 'db_typeclass_path', 'id']
search_fields = ['^db_key', 'db_typeclass_path']
raw_id_fields = ('db_destination', 'db_location', 'db_home')
save_as = True
save_on_top = True