Integrate the French government Design System into a Django app


Keywords
django, hacktoberfest, open-collectivites
License
MIT
Install
pip install django-dsfr==1.1.3

Documentation

image

image

image

image

image

Security Status

Django-DSFR

Django-DSFR is a Django app to integrate the French government Design System ("Système de design de l’État français").

Documentation

See the documentation (in French) for details.

Django-DSFR implements the version 1.12.1 of the DSFR (see also the Github releases page)

Requirements

Tested with Python 3.8 to 3.12 and Django 3.2 to 5.0. Per 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:

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

Quick start

See the INSTALL.md file.

History

This app was originally created as a part of Open Collectivités in 2020, and then maintained as part of Aides-territoires in 2022-2023.

It is now maintained as part of @numerique-gouv alongside the Wagtail-based 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.

⚠️ 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.

⚠️ 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.