Refactoring adminsite.py to allow all models and be configurable via settings.py
This commit is contained in:
parent
78221f8ac3
commit
5bfe5602b8
2 changed files with 26 additions and 16 deletions
|
|
@ -1033,6 +1033,24 @@ MIDDLEWARE = [
|
|||
"evennia.web.utils.middleware.SharedLoginMiddleware",
|
||||
]
|
||||
|
||||
# A list of Django apps (see INSTALLED_APPS) that will be listed first (if present)
|
||||
# in the Django web Admin page.
|
||||
DJANGO_ADMIN_APP_ORDER = [
|
||||
"accounts",
|
||||
"objects",
|
||||
"scripts",
|
||||
"comms",
|
||||
"help",
|
||||
"typeclasses",
|
||||
"server",
|
||||
"sites",
|
||||
"flatpages",
|
||||
"auth",
|
||||
]
|
||||
|
||||
# The following apps will be excluded from the Django web Admin page.
|
||||
DJANGO_ADMIN_APP_EXCLUDE = list()
|
||||
|
||||
######################################################################
|
||||
# Evennia components
|
||||
######################################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue