mirror of
https://github.com/evennia/evennia.git
synced 2026-03-19 22:36:31 +01:00
Tidying up the admin interface by adding more verbose and helpful names to database fields as well as adding more help texts. The ObjectAdmin still gives tracebacks.
This commit is contained in:
parent
6ae1123421
commit
7f2e6dd4fa
11 changed files with 137 additions and 80 deletions
|
|
@ -20,4 +20,10 @@ class ScriptDBAdmin(admin.ModelAdmin):
|
|||
save_as = True
|
||||
save_on_top = True
|
||||
list_select_related = True
|
||||
|
||||
fieldsets = (
|
||||
(None, {
|
||||
'fields':(('db_key', 'db_typeclass_path'), 'db_interval', 'db_repeats', 'db_start_delay', 'db_persistent', 'db_obj')}),
|
||||
)
|
||||
|
||||
admin.site.register(ScriptDB, ScriptDBAdmin)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue