mirror of
https://github.com/evennia/evennia.git
synced 2026-03-31 21:17:17 +02:00
Add evennia-launcher support for createsuperuser
This commit is contained in:
parent
dfea32ec82
commit
f989f3514b
1 changed files with 1 additions and 1 deletions
|
|
@ -2262,7 +2262,7 @@ def main():
|
|||
if option in ("makemessages", "compilemessages"):
|
||||
# some commands don't require the presence of a game directory to work
|
||||
need_gamedir = False
|
||||
if option in ("shell", "check", "makemigrations"):
|
||||
if option in ("shell", "check", "makemigrations", "createsuperuser"):
|
||||
# some django commands requires the database to exist,
|
||||
# or evennia._init to have run before they work right.
|
||||
check_db = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue