Fixed -- Added usable entry point in default manage.py.
import os
import sys
-if __name__ == '__main__':
+
+def main():
os.environ.setdefault('DJANGO_SETTINGS_MODULE', '{{ project_name }}.settings')
try:
from django.core.management import execute_from_command_line
@@ -13,3 +14,7 @@ if __name__ == '__main__':
"forget to activate a virtual environment?"
) from exc
execute_from_command_line(sys.argv)
+
+
+if __name__ == '__main__':
+ main()
