summaryrefslogtreecommitdiffstats
path: root/manage.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2020-07-18 16:23:54 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2020-07-18 16:23:54 +0100
commitedd5a3efd901df68243372f46087d96d4fbf7715 (patch)
tree037682c9ad9a85c2de8532c5623bf750c12dee5b /manage.py
parent90dfa516da857f300bd0ff483ebf7a412934bbcf (diff)
downloadtroggle-edd5a3efd901df68243372f46087d96d4fbf7715.tar.gz
troggle-edd5a3efd901df68243372f46087d96d4fbf7715.tar.bz2
troggle-edd5a3efd901df68243372f46087d96d4fbf7715.zip
Module documentation docstrings
Diffstat (limited to 'manage.py')
-rw-r--r--manage.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/manage.py b/manage.py
index f9726f9..0970f13 100644
--- a/manage.py
+++ b/manage.py
@@ -1,6 +1,18 @@
#!/usr/bin/env python
import os
import sys
+"""This file is the route to run the standard Django utilities on the command line.
+These ar ethe most useful for troggle:
+
+python manage.py test -- runs the troggle test suite
+python manage.py test -v 3 -- runs the troggle test suite with more detailed output
+python manage.py -Wall check -- runs the djang system package deprecation warnings
+python manage.py makemigrations -- creates django db migrations files
+python manage.py inspectdb -- creates datamodel documentaiton as python file
+python manage.py check -v 3 --deploy -- runs the django system security warnings
+python manage.py runserver 0.0.0.0:3777 -v 3 -- runs troggle SQLite webserver on port 3777
+python manage.py diffsettings | grep "###" -- lists what is non-standard django in the settings
+"""
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")