App templates for SaaS Pegasus apps.
Changes from the default Django template:
- Include a
urls.pyfile, and a "hello world" view/url. - Tests are set up in a module instead of
tests.pyfile. - App is assumed to be installed in an
apps/subdirectory.
To use this, create the app directory:
mkdir apps/my_new_app
Then run with the following arguments:
./manage.py startapp my_new_app apps/my_new_app/ --template=/path/to/this/app_template/