pretalx-musicrate/pretalx_musicrate/models.py

11 lines
285 B
Python
Raw Normal View History

2023-12-13 23:58:00 +01:00
from django.db import models
class MusicrateSettings(models.Model):
event = models.OneToOneField(
to="event.Event",
on_delete=models.CASCADE,
related_name="pretalx_musicrate_settings",
)
some_setting = models.CharField(max_length=10, default="A")