Consistent, gapless, periodic(optional) sequences with number formatting for accounting documents and such
- Postgres 9.5+
- Python 3.8+
- Django 4+
pip install django-enumeration
Add "enumeration" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'enumeration', ]
Run python manage.py migrate to create the enumeration models.
DJANGO_SETTINGS_MODULE=enumeration.tests.settings django-admin makemigrations