villafleurie/rental/enums.py
Ruidy 780188e7d6
Refactor (#7)
* crete setting module to split prod and dev configs

* fix calendar midmatch

* lint imports using isort

* doc: add doctrings
2020-07-31 08:02:10 +02:00

10 lines
269 B
Python

from django.db import models
from django.utils.translation import gettext_lazy as _
class PlaceNames(models.TextChoices):
""" PlaceNames enums serve to list places and prepare
for internationalisation
"""
T2 = "T2", _("T2")
T3 = "T3", _("T3")