Files
edx-platform/common/djangoapps/student/migrations/0030_userprofile_phone_number.py
Awais Qureshi 8bef10208a BOM-2375
Run Pyupgrade on student folder.
2021-02-23 14:55:02 +05:00

21 lines
576 B
Python

# Generated by Django 1.11.28 on 2020-02-18 18:36
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('student', '0029_add_data_researcher'),
]
operations = [
migrations.AddField(
model_name='userprofile',
name='phone_number',
field=models.CharField(blank=True, max_length=50, null=True, validators=[django.core.validators.RegexValidator(message='Phone number can only contain numbers.', regex='^\\+?1?\\d*$')]),
),
]