startproject¶
Module: espressodb.management.management.commands.startproject
Overrides default startproject command to match new folder layout
-
class
Command
(stdout=None, stderr=None, no_color=False, force_color=False)[source]¶ Start a new project.
See also
espressodb.management.utilities.settings.ROOT_DIR
andespressodb.management.utilities.settings.PROJECT_NAME
The default project layout is (see also the templates.)
{ROOT_DIR}/ |-- manage.py |-- db-config.yaml |-- settings.yaml |-- setup.py |-- {PROJECT_NAME}/ |-- __init__.py |-- config/ |-- __init__.py |-- settings.py |-- tests.py |-- urls.py |-- wsgi.py |-- migrations/ |-- __init__.py |-- notifications/ |-- __init__.py |-- 0001_initial.py
Important
EspressoDB requires this layout for import statements and static/template path finding.
Note
This command overrides default startproject command to match new folder layout.