diff --git a/src/projspec/proj/django.py b/src/projspec/proj/django.py new file mode 100644 index 0000000..58f2129 --- /dev/null +++ b/src/projspec/proj/django.py @@ -0,0 +1,13 @@ +from projspec.proj import ProjectSpec + + +class Django(ProjectSpec): + """A python web app using the django framework""" + + def match(self): + return "manage.py" in self.proj.basenames + + +# artifacts: running (dev) webserver with `python manage.py runserver` +# global site config is in a subdirectory with a settings.py file (and wsgi, etc) +# specific "apps" are in subdirectories with admin.py, views.py etc