Further reworking, naming the library folder 'evennia' instead of lib or src.

This commit is contained in:
Griatch 2015-01-07 13:36:57 +01:00
parent 829e7493b1
commit c7325a5032
241 changed files with 464 additions and 294 deletions

View file

@ -1,19 +0,0 @@
#
# This sets up how models are displayed
# in the web admin interface.
#
from django.contrib import admin
from src.server.models import ServerConfig
class ServerConfigAdmin(admin.ModelAdmin):
"Custom admin for server configs"
list_display = ('db_key', 'db_value')
list_display_links = ('db_key',)
ordering = ['db_key', 'db_value']
search_fields = ['db_key']
save_as = True
save_on_top = True
list_select_related = True
admin.site.register(ServerConfig, ServerConfigAdmin)