mirror of
https://github.com/pretix/pretix.git
synced 2026-08-15 11:36:27 +00:00
set default for Question container_type
This commit is contained in:
@@ -15,7 +15,6 @@ class Migration(migrations.Migration):
|
||||
model_name='question',
|
||||
name='container_type',
|
||||
field=models.CharField(default='P', max_length=5),
|
||||
preserve_default=False,
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='questionanswer',
|
||||
|
||||
@@ -1651,6 +1651,7 @@ class Question(LoggedModel):
|
||||
max_length=5,
|
||||
choices=CONTAINER_TYPE_CHOICES,
|
||||
verbose_name=_("Asked on"),
|
||||
default=CONTAINER_TYPE_ORDERPOSITION,
|
||||
)
|
||||
question = I18nTextField(
|
||||
verbose_name=_("Question")
|
||||
|
||||
Reference in New Issue
Block a user