init new apps

This commit is contained in:
2025-09-05 11:34:31 +02:00
parent cc2fe5ed03
commit ac1649fbbb
17 changed files with 125 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
# Generated by Django 3.0 on 2025-09-04 15:36
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
name='Profile',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('favorite_city', models.CharField(blank=True, max_length=64)),
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
),
]

View File