Metadata-Version: 2.1
Name: django-dsfr
Version: 1.4.5
Summary: Integrate the French government Design System into a Django app
Home-page: https://github.com/numerique-gouv/django-dsfr
License: MIT
Keywords: django
Author: Sylvain Boissel
Author-email: sylvain.boissel@beta.gouv.fr
Requires-Python: >=3.8,<4.0
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 3.2
Classifier: Framework :: Django :: 4.0
Classifier: Framework :: Django :: 4.1
Classifier: Framework :: Django :: 4.2
Classifier: Framework :: Django :: 5.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Utilities
Requires-Dist: Django (>3.2.5)
Requires-Dist: django-crispy-forms (>=2.0,<3.0)
Requires-Dist: django-widget-tweaks (>=1.4.12,<2.0.0)
Requires-Dist: requests (>=2.26.0,<3.0.0)
Project-URL: Documentation, https://numerique-gouv.github.io/django-dsfr
Project-URL: Repository, https://github.com/numerique-gouv/django-dsfr
Description-Content-Type: text/markdown

[![image](https://img.shields.io/github/v/release/numerique-gouv/django-dsfr.svg)](https://github.com/numerique-gouv/django-dsfr/releases/)

[![image](https://badge.fury.io/py/django-dsfr.svg)](https://pypi.org/project/django-dsfr/)

[![image](https://github.com/numerique-gouv/django-dsfr/actions/workflows/ci-3-8.yml/badge.svg)](https://github.com/numerique-gouv/django-dsfr/actions/workflows/ci-3-8.yml)

[![image](https://github.com/numerique-gouv/django-dsfr/actions/workflows/ci-3-10.yml/badge.svg)](https://github.com/numerique-gouv/django-dsfr/actions/workflows/ci-3-10.yml)

[![image](https://github.com/numerique-gouv/django-dsfr/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/numerique-gouv/django-dsfr/actions/workflows/codeql-analysis.yml)

[![Security Status](https://img.shields.io/badge/security-bandit-yellow.svg)](https://github.com/PyCQA/bandit)

# Django-DSFR

Django-DSFR is a Django app to integrate the [French government Design System ("Système de design de l’État français")](https://www.systeme-de-design.gouv.fr/).

## Documentation

See the [documentation (in French)](https://numerique-gouv.github.io/django-dsfr/) for details.

Django-DSFR implements the [version 1.12.1 of the DSFR](https://www.systeme-de-design.gouv.fr/a-propos/versions/version-courante)
(see also the [Github releases page](https://github.com/GouvernementFR/dsfr/releases/))

## Requirements

Tested with Python 3.8 to 3.12 and Django 3.2 to 5.0. Per [vermin](https://github.com/netromdk/vermin), it should work with Python >= 3.6, and it should work with old versions of Django too.

Note: Only supported versions of Django and Python are supported by this project. You can check the supported versions and their end of life on the following pages:

-   [Python](https://devguide.python.org/versions/)
-   [Django](https://www.djangoproject.com/download/#supported-versions)

⚠️ Warning: Support for Django < 4.0 and Python < 3.10 will be removed at the end of 2024.

## Quick start

See the [INSTALL.md](INSTALL.md) file.

## History

This app was originally created as a part of [Open
Collectivités](https://github.com/entrepreneur-interet-general/opencollectivites)
in 2020, and then maintained as part of
[Aides-territoires](https://github.com/MTES-MCT/aides-territoires) in
2022-2023.

It is now maintained as part of
[\@numerique-gouv](https://github.com/numerique-gouv) alongside the
Wagtail-based [Sites
faciles](https://github.com/numerique-gouv/sites-faciles).

## Licence et droit d’utilisation

Le contenu de ce projet est placé sous licence MIT, à l’exception de la
fonte Marianne. Voir [la licence du
DSFR](https://github.com/GouvernementFR/dsfr/blob/main/doc/legal/cgu.md).

### ⚠️ Utilisation du DSFR interdite en dehors des sites Internet de l’État

> Il est formellement interdit à tout autre acteur d’utiliser le Système de Design de l’État (les administrations territoriales ou tout autre acteur privé) pour des sites web ou des applications. Le Système de Design de l’État représente l’identité numérique de l’État. En cas d’usage à des fins trompeuses ou frauduleuses, l’État se réserve le droit d’entreprendre les actions nécessaires pour y mettre un terme.
>
> Voir les [conditions générales d’utilisation](https://github.com/GouvernementFR/dsfr/blob/main/doc/legal/cgu.md).

### ⚠️ Prohibited Use Outside Government Websites

> This Design System is only meant to be used by official French public
> services\' websites and apps. Its main purpose is to make it easy to
> identify governmental websites for citizens. See terms.

