Starting project. #1. May not work on it right away, I'm involved with FreshAir. From time to time I will update this project

This commit is contained in:
amazing-username
2019-02-06 18:03:26 +00:00
parent 0e8fe2210b
commit 23368a3cc3
12 changed files with 189 additions and 0 deletions
Executable
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env python
import os
import sys
if __name__ == '__main__':
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'icarus.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise ImportError(
"Couldn't import Django. Are you sure it's installed and "
"available on your PYTHONPATH environment variable? Did you "
"forget to activate a virtual environment?"
) from exc
execute_from_command_line(sys.argv)