Django 2 cookiecutter starter project template.
Branch: master
Clone or download
Latest commit e67fdce Jun 13, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tests Added pytest requirements and tests for cookiecutter generation. (Pin… Apr 30, 2015
{{cookiecutter.project_name}} updated to django 2.0 Jun 13, 2018
.gitignore Added pip-tools compiled requirements file to gitignore. Oct 13, 2015
.travis.yml
LICENSE.txt Moved README and LICENSE files out to top level. Nov 22, 2013
README.rst
cookiecutter.json
requirements.txt Don't use pip-tools for top level requirements. Oct 13, 2015
runtests.sh
setup.cfg Added pytest requirements and tests for cookiecutter generation. (Pin… Apr 30, 2015

README.rst

Wildfish Django Starter

Build Status

A Django 2.0 friendly project cookiecutter template to kick start development for new projects. Includes apps and settings we use in the majority of projects, along with an integrated version of our other cookiecutter-django-crud template which will also generate a model, CRUD views and tests.

Features

  • 2 tier layout
  • Python essentials: ipython, ipdb, flake8
  • Requirements file managed using pip-tools.
  • Settings using django-configurations
  • Testing bits: django-webtest, model-mommy
  • Redis cache (via django-redis-cache)
  • Sentry's raven client, django-debug-toolbar
  • django-bootstrap3, django-model-utils
  • Django CRUD views and templates using django-vanilla-views.
  • A Django ModelForm using bootstrap3.
  • Tests for all of the views using WebTest.
  • Model Mommy generated models for the tests.

Quickstart

Ensure you have cookiecutter installed:

pip install cookiecutter

Then use cookiecutter to generate your project from this template with:

cookiecutter git@github.com:wildfish/wildfish-django-starter.git

Then from your generated project:

npm install

pip install -r requirements.in

python manage.py migrate

Requirements using pip-compile

The generated project uses a requirements.in file to make it straightforward to keep pinned requirements up to date using the pip-compile command from pip-tools.

To generate a requirements.txt from your project simply use the pip-compile command.

Read more here, https://github.com/nvie/pip-tools#example-usage-for-pip-compile