Simple cookiecutter for django
First you must install cookiecutter:
$ pip install cookiecutter
Then you can use it to generate a project:
$ cookiecutter gh:brianmrdev/cookiecutter-django
The generated project will be in the folder my-project (the name of your project) and will contain the following files:
.
βββ apps # contains all applications
β βββ accounts # django app for accounts
β β βββ migrations # migrations for accounts app
β β βββ tests # tests for accounts app
β β β βββ test_models.py
β β βββ admin.py
β β βββ apps.py
β β βββ models.py # models for accounts app
β β βββ urls.py # urls for accounts app
β β βββ views.py
β βββ core # core application
β β βββ migrations # migrations for core app
β β βββ tests # tests
β β β βββ test_middleware.py
β β β βββ test_models.py
β β β βββ test_validators.py
β β βββ apps.py
β β βββ middleware # middlewares
β β βββ models.py # basic models. Can be used by any application
βββ config # contains all configuration files
β βββ settings # settings for project
β β βββ base.py # base settings
β β βββ develop.py # develop settings
β β βββ production.py # production settings
β β βββ staging.py # staging settings
β βββ asgi.py # asgi file (used by uvicorn)
β βββ wsgi.py # wsgi file (used by gunicorn)
β βββ urls.py # urls main file
βββ requirements # requirements folder
β βββ base.txt # base requirements
β βββ develop.txt # develop requirements
β βββ production.txt # production requirements
β βββ staging.txt # staging requirements
β βββ test.txt # test requirements
βββ manage.py