Skip to main content

GOV.UK Frontend Django

Documentation Site | GitHub | PyPI

The govuk_frontend_django package contains Django functionality to help when building a GOV.UK website.

The main part of this package is the template tags that it offers for use in your templates. These template tags will reduce the amount of markup that you need to maintain in your project.

This package also contains some helpful templates for your project, such as the govuk_frontend_django/base.html template which contains the basic structure of a GOV.UK website.

Getting started

First install the package:

pip install govuk-frontend-django

In your settings file, add the app to your INSTALLED_APPS:

INSTALLED_APPS = [
    ...
    "govuk_frontend_django",
]

Start using the template tags in your templates!

{% load govuk_frontend_django %}

{% gds_component "back-link" href="/" %}

More template tags

Compatibility table

Below is a list of the versions of this package and the versions of the GOV.UK Frontend that they are compatible with.

Package Version GOV.UK Frontend Version
0.21.0 - 0.22.0 v6.0.0
0.20.0 v5.14.0
0.19.0 v5.13.0
0.18.0 v5.12.0
0.17.0 - 0.17.1 v5.11.0 - v5.11.1
0.16.0 - 0.16.4 v5.10.0 - v5.10.2
0.15.0 - 0.15.3 v5.9.0
0.14.0 v5.8.0
0.13.0 - 0.13.1 v5.7.0 - v5.7.1
0.12.0 - 0.12.1 v5.6.0
0.11.0 - 0.11.1 v5.5.0
0.10.0 - 0.10.1 v5.4.1
0.9.0 - 0.9.1 v5.4.0
0.8.0 v5.3.1
0.7.0 v5.3.0
0.6.0 v5.2.0
0.5.0 - 0.5.1 v5.1.0
0.4.0 v4.7.0
0.3.0 - 0.3.9 v4.6.0
0.2.0 - 0.2.3 v4.5.0

Download files

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

Source Distribution

govuk_frontend_django-0.22.0.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

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

govuk_frontend_django-0.22.0-py3-none-any.whl (43.4 kB view details)

Uploaded Python 3

File details

Details for the file govuk_frontend_django-0.22.0.tar.gz.

File metadata

  • Download URL: govuk_frontend_django-0.22.0.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.14.6 Linux/5.15.0-1112-aws-fips

File hashes

Hashes for govuk_frontend_django-0.22.0.tar.gz
Algorithm Hash digest
SHA256 62181b7ede35e45117d0f1e9307aeafc9b1bb1848cd220fec599615f6e351021
MD5 efd29a99add1b584f3a90a69ac3d281d
BLAKE2b-256 a323994dec4119c5c70098f06b2e12f45abde83d39c0abeda02708e3b047df1b

See more details on using hashes here.

File details

Details for the file govuk_frontend_django-0.22.0-py3-none-any.whl.

File metadata

File hashes

Hashes for govuk_frontend_django-0.22.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ef288d9a26aedfb1272cb2c7e8d44f44d4b16ca116cd96dab17c79e99443e20
MD5 54b5e74c452997a3f5fee26e23bdd6e6
BLAKE2b-256 a7ec987d6f050e31ddcc184ff7213a40957b02155322d9d3ab494c27e51f8066

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.22.0 This release

2 files

0.21.1

2 files

0.21.0

2 files

0.20.0

2 files

0.19.0

2 files

0.18.0

2 files

0.17.1

2 files

0.17.0

2 files

0.16.4

2 files

0.16.3

2 files

0.16.2

2 files

0.16.1

2 files

0.16.0

2 files

0.15.3

2 files

0.15.2

2 files

0.15.1

2 files

0.15.0

2 files

0.14.0

2 files

0.13.1

2 files

0.13.0

2 files

0.12.1

2 files

0.12.0

2 files

0.11.1

2 files

0.11.0

2 files

0.10.1

2 files

0.10.0

2 files

0.9.1

2 files

0.9.0

2 files

0.8.0

2 files

0.7.0

2 files

0.6.0

2 files

0.5.1

2 files

0.5.0

2 files

0.4.0

2 files

0.3.9

2 files

0.3.8

2 files

0.3.7

2 files

0.3.6

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

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