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

Metadata

Release files for govuk-frontend-django 0.23.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for govuk-frontend-django 0.23.0
File Size Uploaded Provenance Actions
govuk_frontend_django-0.23.0.tar.gz 17.7 kB Without provenance Details for govuk_frontend_django-0.23.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for govuk-frontend-django 0.23.0
File Interpreter ABI Platform Actions
govuk_frontend_django-0.23.0-py3-none-any.whl Python 3 none any Details for govuk_frontend_django-0.23.0-py3-none-any.whl

Total release size: 61.1 kB

Release files / govuk_frontend_django-0.23.0.tar.gz

Download URL govuk_frontend_django-0.23.0.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9bd7af0e8d058e98e7bc9af19def2c9145dcd88d66c33c0f6d623c88947e21fa
BLAKE2b-256 checksum
How to use checksums
233199f0427d4320ca560e95bd4df53d4b4dc04c6db24ad549bfc025983c485f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.14.6 Linux/5.15.0-1120-aws-fips

Release files / govuk_frontend_django-0.23.0-py3-none-any.whl

Download URL govuk_frontend_django-0.23.0-py3-none-any.whl
Size 43.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1dd562f9c37e65e6230129a5d1712667b6ac88b51610f3a83ad7893f2f79e85e
BLAKE2b-256 checksum
How to use checksums
a79b7792494a5a232c734b281c1167de6ce0e24e832b94fdb0c79cb25627a4be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.14.6 Linux/5.15.0-1120-aws-fips

Security for govuk-frontend-django 0.23.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.23.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page