Added profiles page and friends system

This commit is contained in:
ITQ
2024-03-03 09:20:17 +03:00
parent 13b4e8bafb
commit c81cd3560f
7 changed files with 132 additions and 3 deletions
@@ -1,4 +1,4 @@
# Generated by Django 4.2.10 on 2024-03-02 10:14
# Generated by Django 4.2.10 on 2024-03-03 06:12
import api.users.validators
import django.core.validators
@@ -24,6 +24,7 @@ class Migration(migrations.Migration):
('isPublic', models.BooleanField()),
('phone', models.CharField(blank=True, max_length=20, null=True, validators=[django.core.validators.MaxLengthValidator(20), django.core.validators.RegexValidator('\\+[\\d]+')])),
('image', models.URLField(blank=True, null=True)),
('friends', models.ManyToManyField(blank=True, to='users.profile')),
],
),
]