Hotfix before deadline
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Generated by Django 4.2.10 on 2024-03-03 15:01
|
||||
# Generated by Django 4.2.10 on 2024-03-04 19:15
|
||||
|
||||
import api.users.validators
|
||||
import django.core.validators
|
||||
@@ -30,7 +30,7 @@ class Migration(migrations.Migration):
|
||||
('password', models.CharField(max_length=100, validators=[django.core.validators.RegexValidator('^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9]).{6,100}$')])),
|
||||
('countryCode', models.CharField(max_length=2, validators=[django.core.validators.RegexValidator('[a-zA-Z]{2}'), api.users.validators.CountryCodeValidator()])),
|
||||
('isPublic', models.BooleanField()),
|
||||
('phone', models.CharField(max_length=20, null=True, validators=[django.core.validators.MaxLengthValidator(20), django.core.validators.RegexValidator('\\+[\\d]+')])),
|
||||
('phone', models.CharField(max_length=20, null=True, validators=[django.core.validators.MaxLengthValidator(20), django.core.validators.RegexValidator('^\\+\\d+')])),
|
||||
('image', models.URLField(null=True)),
|
||||
('friends', models.ManyToManyField(blank=True, through='users.Friendship', to='users.profile')),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user