Skip to content

pavelpy/django

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

123 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My personal (very) opinionated django template

CircleCI Shields.io

Easy peasy

What is in the box

  • API-only django (checkout this post in Russian) based on Django REST Framework with JWT support
  • Starter Circle CI configuration
  • pytest with usefull stuff like freezegun, pytest-mock and super convinient DRF test client
  • flake8 with ton of plugins (contact me if you know more)
  • pip-tools with separate development-time dependencies
  • Custom user model
  • Whitenoise for effortless static files hosting
  • Sentry. Set SENTRY_DSN env var if you need it.

Optional next steps

You definetely should consider this steps after installation:

  • Install pytest-xdist if you plan to grow beyond 500 unittests
  • If you are into docker, check out this docker-compose.yml which is compatible with bundled dockerfile

Installation

$ pip install --upgrade cookiecutter
$ cookiecutter gh:f213/django

FAQ

I have got an error «'random_ascii_string' is undefined»

You should upgrade cookiecutter to the latest version: pip install --upgrade cookiecutter

About

My personal (very) opinionated django template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 89.3%
  • Dockerfile 6.5%
  • Shell 3.5%
  • Makefile 0.7%