{ "info": { "author": "Josh Rowe", "author_email": "josh.rowe@digital.justice.gov.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=======================\nBase Django App for MoJ\n=======================\n\nThis 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.\n\nIncludes\n========\n\n`Django `__\n\n`django-cors-headers `__\n\n`django-extended-choices `__\n\n`django-filter `__\n\n`django-moj-irat `__\n\n`django-rest-swagger `__\n\n`djangorestframework `__\n\n`flake8 `__\n\n`openpyxl `__\n\n`PyYAM `__\n\n`requests `__\n\n\nDependencies\n============\n\n- `Python 3.5 `__ (can be installed using :code:`brew install python3`)\n\n\nInstallation\n============\n\nInstall via pypi\n\n::\n\n pip install django-gov\n\n\nFeatures\n========\n\ngovuk_template Django template and static directory are included in the package. You can extend the GovUK Template directly\n\n::\n\n {% extends 'govuk_template/base.html' %}\n\n\nYou can also download the latest govuk_template taball and extract the contentents to a directory of you choice\n\n::\n\n ./manage.py update_gov_template -d /path/to/directory/to/unpack/\n\n\nThis will add the templates and static directories from the latest release of govuk_template to the directory passed as -d\n\n\nYou can include the default settings for all the included apps above by including the default settings in your app settings.py file\n\n::\n\n from django_gov.settings import *\n\n\nYou can include the urls for the healthcheck endpoints\n\n::\n\n url(r'^', include('django_gov.urls'))\n\n\nTesting\n=======\n\nIf you include the whole default settings, this will add flake8 code style tests to the directory you run your apps.\n\nYou can add a `setup.cfg` file containing your flake8 settings to the base directory of your app.\n\n::\n\n [flake8]\n exclude = .git/,env/,venv/,node_modules/, manage.py\n max-complexity = 10\n max-line-length = 120\n\n\nAPI Docs\n========\n\ndjango-rest-swagger is also included. The template has been modified to use the govuk_template as a base.\n\nsee `https://github.com/marcgibbons/django-rest-swagger `__ for instructions on how to set up Swagger\n\n\n\n\nHistory\n-------\n\n0.2.0 (2017-04-05)\n++++++++++++++++++\n\n* Update govuk template to 0.19.2.\n\n0.1.2 (2016-12-05)\n++++++++++++++++++\n\n* Add flake8 tests to READEME.\n\n0.1.1 (2016-11-18)\n++++++++++++++++++\n\n* Update READEME and HISTORY.\n\n\n0.1.0 (2016-11-17)\n++++++++++++++++++\n\n* First release on PyPI.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ministryofjustice/django-gov", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "django-gov", "package_url": "https://pypi.org/project/django-gov/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-gov/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ministryofjustice/django-gov" }, "release_url": "https://pypi.org/project/django-gov/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Base Django Application for MoJ Gov", "version": "0.2.1" }, "last_serial": 2751744, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "71d3ddd819cd5a29d24ecd0985b55525", "sha256": "69047d3ee6281fe50c72eeb26d85a53e8a75f2b2322bc6afcecc65828db5643b" }, "downloads": -1, "filename": "django-gov-0.0.1.tar.gz", "has_sig": false, "md5_digest": "71d3ddd819cd5a29d24ecd0985b55525", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 466534, "upload_time": "2016-11-17T13:36:35", "url": "https://files.pythonhosted.org/packages/8f/fc/7e4782fd82436e5dd9fe52d2cbb796b3eb8f2641cc9e7cd17348632db64f/django-gov-0.0.1.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "ba3136d069fd10e6f06d031210eeab2b", "sha256": "282d05dbd6d10912563347d4b508f3809d290cf2a8b41cb4767248460a241a60" }, "downloads": -1, "filename": "django-gov-0.1.0.tar.gz", "has_sig": false, "md5_digest": "ba3136d069fd10e6f06d031210eeab2b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 466603, "upload_time": "2016-11-17T13:44:17", "url": "https://files.pythonhosted.org/packages/77/2a/5f54b3575eaa24f54044c530ce3f97f645fa2750bf5775ed12239c14f8f0/django-gov-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "e3299c8f7711f7c4e88bd1465867c7d2", "sha256": "c4d460d9bcedafface9e522fc720e82392e65dbef7d0fbe95e338a2efa634c0d" }, "downloads": -1, "filename": "django-gov-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e3299c8f7711f7c4e88bd1465867c7d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 467602, "upload_time": "2016-11-18T15:29:59", "url": "https://files.pythonhosted.org/packages/fb/2b/a4e33c0863d29e8f200b96ef2d272dab109886280cb862448ebf0dfc2029/django-gov-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "ea11f92b7ed1db935dcfe9b086cb0eef", "sha256": "0f4d03c032590b80eec6102b6a1f81bac48e99c34e1797c19bd92927a2d358bf" }, "downloads": -1, "filename": "django-gov-0.1.2.tar.gz", "has_sig": false, "md5_digest": "ea11f92b7ed1db935dcfe9b086cb0eef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 467792, "upload_time": "2016-12-05T15:38:36", "url": "https://files.pythonhosted.org/packages/4a/d8/64f45aa40bfb9c208b220ad65f0cfab0d80180ebe36040b89ea8e638b202/django-gov-0.1.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "867921bcef19df8f525195f1ff9cb28d", "sha256": "416131c66f42047d2194335c9cf742e5ea345fee38651a5dfc094d30fd2b65bb" }, "downloads": -1, "filename": "django-gov-0.2.1.tar.gz", "has_sig": false, "md5_digest": "867921bcef19df8f525195f1ff9cb28d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 468006, "upload_time": "2017-04-04T11:13:44", "url": "https://files.pythonhosted.org/packages/d3/88/3ed3a28eeb2a87c141a3321fc127e7c71a0368a8941f39049461d11b1c13/django-gov-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "867921bcef19df8f525195f1ff9cb28d", "sha256": "416131c66f42047d2194335c9cf742e5ea345fee38651a5dfc094d30fd2b65bb" }, "downloads": -1, "filename": "django-gov-0.2.1.tar.gz", "has_sig": false, "md5_digest": "867921bcef19df8f525195f1ff9cb28d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 468006, "upload_time": "2017-04-04T11:13:44", "url": "https://files.pythonhosted.org/packages/d3/88/3ed3a28eeb2a87c141a3321fc127e7c71a0368a8941f39049461d11b1c13/django-gov-0.2.1.tar.gz" } ] }