22 lines
657 B
Python
22 lines
657 B
Python
# Generated by Django 3.2 on 2021-05-11 13:59
|
|
|
|
import django.core.validators
|
|
from django.db import migrations, models
|
|
import re
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('quiz', '0002_auto_20210417_1052'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='progress',
|
|
name='user_answers',
|
|
field=models.CharField(default=0, max_length=1024, validators=[django.core.validators.RegexValidator(re.compile('^\\d+(?:,\\d+)*\\Z'), code='invalid', message='Enter only digits separated by commas.')], verbose_name='User_answers'),
|
|
preserve_default=False,
|
|
),
|
|
]
|