Added createsuperuser function, & execute it from configure. This

enables docker users to access the django administration site without
requiring access to a cli
This commit is contained in:
th3r00t
2020-09-03 22:17:07 -04:00
parent c0a4c3e8c1
commit b23cbf17d5
5 changed files with 62 additions and 9 deletions

View File

@@ -14,6 +14,7 @@ import os
import sys
from pathlib import Path
sys.path.insert(0, Path.absolute(Path.cwd()))
from backend.lib.config import Config
CUR_DIR = Path.cwd()