Skip to content
This repository was archived by the owner on Apr 29, 2022. It is now read-only.

Commit 39432c2

Browse files
committed
renamed migration; reformatted CaptchaQuestion answer verbose_name
1 parent 314acba commit 39432c2

File tree

3 files changed

+23
-23
lines changed

3 files changed

+23
-23
lines changed

conference/migrations/0030_auto_20210507_2047.py

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by Django 2.2.24 on 2021-07-04 10:59
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('conference', '0031_update_streamset_help_text'),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name='captchaquestion',
15+
name='answer',
16+
field=models.CharField(max_length=255, verbose_name='answer (use a regular expression to capture possible answers e.g. "(python|the python programming language)" case is ignored)'),
17+
),
18+
]

conference/models.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,11 +1345,11 @@ class NoQuestionsAvailable(Exception):
13451345

13461346
question = models.CharField(max_length=255)
13471347
answer = models.CharField(max_length=255,
1348-
verbose_name='''answer (use a regular expression
1349-
to capture possible answers e.g.
1350-
"(python|the python programming language)"
1351-
case is ignored)
1352-
''')
1348+
verbose_name='answer (use a regular expression'
1349+
' to capture possible answers e.g.'
1350+
' "(python|the python programming language)"'
1351+
' case is ignored)'
1352+
)
13531353
enabled = models.BooleanField(default=True)
13541354

13551355
objects = CaptchaQuestionManager()

0 commit comments

Comments
 (0)