update related name of address

This commit is contained in:
Parsa Nazer
2025-01-11 21:36:28 +03:30
parent 5a8b7bc5eb
commit a751b260d4
2 changed files with 21 additions and 1 deletions
@@ -0,0 +1,20 @@
# Generated by Django 5.1.2 on 2025-01-11 18:05
import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('account', '0008_alter_user_otp_expiry_alter_user_otp_hash'),
]
operations = [
migrations.AlterField(
model_name='useraddressmodel',
name='user',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='address', to=settings.AUTH_USER_MODEL),
),
]