aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2023-02-21 14:22:41 -0800
committerclarkzjw <[email protected]>2023-02-21 14:22:41 -0800
commit0ce8037dcb01745edc9930b09e72bf7ea4dfcf4e (patch)
tree78c8d1c09f381050f9c3b7f1a911fbbbe28a81d0 /manage.py
parent431e8abcc4bf858e4ca945384a2f60702f1b5a4c (diff)
downloadswarm2fediverse-0ce8037dcb01745edc9930b09e72bf7ea4dfcf4e.tar.gz
add django project template
Diffstat (limited to 'manage.py')
-rwxr-xr-xmanage.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/manage.py b/manage.py
new file mode 100755
index 0000000..ee58492
--- /dev/null
+++ b/manage.py
@@ -0,0 +1,22 @@
1#!/usr/bin/env python
2"""Django's command-line utility for administrative tasks."""
3import os
4import sys
5
6
7def main():
8 """Run administrative tasks."""
9 os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'checkin.settings')
10 try:
11 from django.core.management import execute_from_command_line
12 except ImportError as exc:
13 raise ImportError(
14 "Couldn't import Django. Are you sure it's installed and "
15 "available on your PYTHONPATH environment variable? Did you "
16 "forget to activate a virtual environment?"
17 ) from exc
18 execute_from_command_line(sys.argv)
19
20
21if __name__ == '__main__':
22 main()
Powered by cgit v1.2.3 (git 2.41.0)