0.0.12
profile routines
This commit is contained in:
18
AuthApp/migrations/0003_userprofile_avatar.py
Normal file
18
AuthApp/migrations/0003_userprofile_avatar.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 4.2.2 on 2023-07-11 12:12
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('AuthApp', '0002_alter_userprofile_city'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='userprofile',
|
||||
name='avatar',
|
||||
field=models.ImageField(blank=True, null=True, upload_to='uploads/', verbose_name='Аватар'),
|
||||
),
|
||||
]
|
||||
18
AuthApp/migrations/0004_alter_userprofile_account_type.py
Normal file
18
AuthApp/migrations/0004_alter_userprofile_account_type.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 4.2.2 on 2023-07-11 12:17
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('AuthApp', '0003_userprofile_avatar'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='userprofile',
|
||||
name='account_type',
|
||||
field=models.CharField(choices=[('mover', 'Перевозчик'), ('sender', 'Отправитель')], default='sender', max_length=250, verbose_name='Тип учетной записи'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user