Base Django Application for MoJ Gov
Project description
This can be used as a base to build MoJ Django applications. It includes some useful Django packages along with the Gov.uk template. It also includes flake8 code style test.
Includes
Dependencies
Python 3.5 (can be installed using
brew install python3
)
Installation
Install via pypi
pip install django-gov
Features
govuk_template Django template and sstatic directory are included in the package, you can also download the latest govuk_template taball and extract the contentents to a directory of you choice
./manage.py update_gov_template -d /path/to/directory/to/unpack/
This will add the templates and static directories from the latest release of govuk_template to the directory passed as -d
You can include the default settings for all the included apps above by including the default settings in youe app settings.py file
from django_gov.settings import *
You can include the urls for the healthcheck endpoints
url(r'^', include('django_gov.urls'))
History
0.1.1 (2016-11-18)
Update READEME and HISTORY.
0.1.0 (2016-11-17)
First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.