Use self manage action to call Django create_schema command
This commit is contained in:
parent
6b63c89fea
commit
c1f7792342
|
@ -202,7 +202,7 @@ case "$1" in
|
|||
else
|
||||
TENANT_DIR="$TENANT_BASE/$TENANT/"
|
||||
mkdir "$TENANT_DIR" "$TENANT_DIR/media/" "$TENANT_DIR/static" "$TENANT_DIR/templates"
|
||||
su $USER -p -c "/usr/bin/portail-citoyen-manage create_schema"
|
||||
$SCRIPTNAME manage create_schema
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
|
|
Reference in New Issue