Skip to content

dbready/django_skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Django Skeleton

Cookiecutter based Django quick start.

Includes several niceties which I think any project eventually requires. Likely too opinonated for anyone else's use, but I became tired of re-implementing the basics.

Usage

By default, cookiecutter will deploy into the current working directory. To specify new destination, use the --output-dir <directory> argument.

From git repository

cookiecutter https://github.com/dbready/django_skeleton.git

From local directory

cookiecutter ~/templates/django_skeleton

Will then produce a project outlined as below:

β”œβ”€β”€ django_skeleton
β”‚   β”œβ”€β”€ core
β”‚   β”‚   β”œβ”€β”€ migrations
β”‚   β”‚   β”‚   └── __init__.py
β”‚   β”‚   β”œβ”€β”€ static
β”‚   β”‚   β”‚   └── core
β”‚   β”‚   β”‚       β”œβ”€β”€ css
β”‚   β”‚   β”‚       β”‚   β”œβ”€β”€ style.css
β”‚   β”‚   β”‚       β”‚   └── water.css
β”‚   β”‚   β”‚       β”œβ”€β”€ icon
β”‚   β”‚   β”‚       β”‚   β”œβ”€β”€ android-icon-192x192.png
β”‚   β”‚   β”‚       β”‚   β”œβ”€β”€ android-icon-512x512.png
β”‚   β”‚   β”‚       β”‚   β”œβ”€β”€ apple-touch-icon.png
β”‚   β”‚   β”‚       β”‚   β”œβ”€β”€ favicon.ico
β”‚   β”‚   β”‚       β”‚   └── favicon.svg
β”‚   β”‚   β”‚       └── img
β”‚   β”‚   β”‚           └── logo.svg
β”‚   β”‚   β”œβ”€β”€ templates
β”‚   β”‚   β”‚   └── core
β”‚   β”‚   β”‚       β”œβ”€β”€ error
β”‚   β”‚   β”‚       β”‚   β”œβ”€β”€ 400.html
β”‚   β”‚   β”‚       β”‚   β”œβ”€β”€ 403.html
β”‚   β”‚   β”‚       β”‚   β”œβ”€β”€ 404.html
β”‚   β”‚   β”‚       β”‚   └── 500.html
β”‚   β”‚   β”‚       β”œβ”€β”€ base.html
β”‚   β”‚   β”‚       └── index.html
β”‚   β”‚   β”œβ”€β”€ tests
β”‚   β”‚   β”‚   β”œβ”€β”€ __init__.py
β”‚   β”‚   β”‚   └── test_pages.py
β”‚   β”‚   β”œβ”€β”€ admin.py
β”‚   β”‚   β”œβ”€β”€ apps.py
β”‚   β”‚   β”œβ”€β”€ models.py
β”‚   β”‚   β”œβ”€β”€ urls.py
β”‚   β”‚   └── views.py
β”‚   β”œβ”€β”€ django_skeleton
β”‚   β”‚   β”œβ”€β”€ tests
β”‚   β”‚   β”‚   β”œβ”€β”€ __init__.py
β”‚   β”‚   β”‚   └── test_site.py
β”‚   β”‚   β”œβ”€β”€ asgi.py
β”‚   β”‚   β”œβ”€β”€ __init__.py
β”‚   β”‚   β”œβ”€β”€ settings.py
β”‚   β”‚   β”œβ”€β”€ urls.py
β”‚   β”‚   β”œβ”€β”€ views.py
β”‚   β”‚   └── wsgi.py
β”‚   └── manage.py
β”œβ”€β”€ CHANGELOG.md
β”œβ”€β”€ Dockerfile
β”œβ”€β”€ dockerignore
β”œβ”€β”€ example.env
β”œβ”€β”€ LICENSE-APACHE
β”œβ”€β”€ LICENSE-MIT
β”œβ”€β”€ Makefile
β”œβ”€β”€ pyproject.toml
└── README.md

License

This project is available under any of the following with which the user feels most comfortable.

- Apache 2
- CC0
- MIT

About

Template Django project for starting simple projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors