Create 0004_alter_user_icon.py
This commit is contained in:
parent
9f65fcab71
commit
d9ddc0656d
20
apps/authentication/migrations/0004_alter_user_icon.py
Normal file
20
apps/authentication/migrations/0004_alter_user_icon.py
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Generated by Django 3.2.16 on 2024-01-18 20:14
|
||||||
|
|
||||||
|
import apps.authentication.models
|
||||||
|
from django.db import migrations, models
|
||||||
|
import pathlib
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('authentication', '0003_alter_user_icon'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='user',
|
||||||
|
name='icon',
|
||||||
|
field=models.ImageField(default=pathlib.PurePosixPath('/mnt/storage/projects/Websites/ticket-website/static/images/defaultuser.webp'), storage=apps.authentication.models.OverwriteStorage(), upload_to=apps.authentication.models.IconPathGenerator(), verbose_name='profile picture'),
|
||||||
|
),
|
||||||
|
]
|
Loading…
x
Reference in New Issue
Block a user