Skip to content

Commit 6c336bd

Browse files
author
Paul Bock
committed
Codefactor issue fix
1 parent 247a460 commit 6c336bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def __end_gen_message(message):
109109
__begin_gen_message("Django project " + project_name + " in " + out_path)
110110

111111
try:
112-
op = pop(["django-admin", "startproject", project_name,], shell=False, cwd=out_path)
112+
op = pop(["/usr/bin/python3", "-m", "django", "startproject", project_name,], shell=False, cwd=out_path)
113113
# https://stackoverflow.com/a/2837319
114114
op.communicate()
115115
except Exception as e:

0 commit comments

Comments
 (0)