Skip to main content

It should be easy to make a Django-based service that follows Government Digital Services’ style guide and reference materials.

This Django app allows forms to be output using the HTML that can be styled using GOV.UK elements. The styles themselves are provided by another package, https://github.com/ministryofjustice/django-govuk-template

Usage

  • Install django-govuk-forms or django-govuk-template[forms]

  • Add govuk_forms to INSTALLED_APPS

Development

Please report bugs and open pull requests on GitHub.

Use python setup.py test to run all tests.

This repository does not need to be updated for every release of GDS’s packages, only breaking changes for overridden components may need fixes.

Distribute a new version by updating the VERSION tuple in govuk_forms and run python setup.py sdist bdist_wheel upload.

To do

  • Implement basic field styles

  • Decide on mechanism for generating the right HTML:
    • Use a form mixin?

    • Use individual widgets?

    • Use templates?

    • Use template tags?

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-govuk-forms-0.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_govuk_forms-0.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file django-govuk-forms-0.1.tar.gz.

File metadata

File hashes

Hashes for django-govuk-forms-0.1.tar.gz
Algorithm Hash digest
SHA256 abbcbb7c075064cfa70935e24b4cd321b7eefa5a6a24c3c0095073ab0ef32d74
MD5 13d5b24b5a11a14eeee74271d79a3d03
BLAKE2b-256 8ded536f533df1e98a705a59af60af5a640f2325b5c8559b46300cae4181c91c

See more details on using hashes here.

File details

Details for the file django_govuk_forms-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_govuk_forms-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 22db1e416359d905bbb3692ccc270719d10b3ccb25a8ad7a8be0e8e5a7dfe58e
MD5 46cf6ba904c036e0627d37004e765362
BLAKE2b-256 d1a23bf4ab374ffb574b3cd371ae0d424c6643a9915b174830edab36f35000f7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page