Create media directory at the right location

This commit is contained in:
Antoine Nguyen
2014-12-14 12:02:51 +01:00
parent f7e7223d69
commit 4f8ae2d8a5
+1 -1
View File
@@ -214,7 +214,7 @@ class DeployCommand(Command):
shutil.copyfile(
"%s/urls.py.tpl" % self._templates_dir, "%s/urls.py" % path
)
os.mkdir("%s/media" % path)
os.mkdir("%s/media" % parsed_args.name)
os.unlink("%s/settings.pyc" % path)
if parsed_args.dbaction == "install":