···33History
44-------
5566+2.2.0 (2022-06-17)
77+++++++++++++++++++
88+99+* Feat: Support for Django 4.0.
1010+* Fix: Better format in code.
1111+6122.1.2 (2020-07-13)
713++++++++++++++++++
814
+6
Makefile
···11+# Common commands to habdle the project.
22+# ------------------------------------------------------------------------------
33+lint:
44+ poetry run isort . --profile black
55+ poetry run black .
66+ poetry run mypy .
···11+from typing import Tuple
22+13from django.conf import settings
2435# Needed to build and publish with Flit
···2123DEFAULT_CONFIGURATION = getattr(settings, "SIMPLE_OPTIONS_CONFIGURATION", {})
22242325# Set the list of options that the user can't customize.
2424-DEFAULT_EXCLUDE_USER = getattr(settings, "SIMPLE_OPTIONS_EXCLUDE_USER", tuple())
2626+DEFAULT_EXCLUDE_USER: Tuple = getattr(settings, "SIMPLE_OPTIONS_EXCLUDE_USER", tuple())
25272628# Swappable Option model
2729DEFAULT_OPTION_MODEL = getattr(