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"):
|
if option in ("makemessages", "compilemessages"):
|
||||||
# some commands don't require the presence of a game directory to work
|
# some commands don't require the presence of a game directory to work
|
||||||
need_gamedir = False
|
need_gamedir = False
|
||||||
if option in ("shell", "check", "makemigrations"):
|
if option in ("shell", "check", "makemigrations", "createsuperuser"):
|
||||||
# some django commands requires the database to exist,
|
# some django commands requires the database to exist,
|
||||||
# or evennia._init to have run before they work right.
|
# or evennia._init to have run before they work right.
|
||||||
check_db = True
|
check_db = True
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue