Use self manage action to call Django create_schema command

This commit is contained in:
Benjamin Dauvergne 2014-09-18 15:15:35 +02:00
parent 6b63c89fea
commit c1f7792342
1 changed files with 1 additions and 1 deletions

View File

@ -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
;;
*)