Skip to content
GitLab
Explore
Sign in
Register
Michael Sokolov
Website_project
Issues
#9
Оформление enum в models.py
Используйте TextChoices:
https://docs.djangoproject.com/en/4.1/ref/models/fields/#enumeration-types