# Generated by Django 5.1 on 2024-08-13 10:04 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cmsMain', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='site', options={'verbose_name': 'Сайт', 'verbose_name_plural': 'Сайтов'}, ), migrations.AddField( model_name='page', name='title', field=models.CharField(default='Главная страница', max_length=50, verbose_name='Название'), preserve_default=False, ), migrations.CreateModel( name='Url', fields=[ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('path', models.CharField(max_length=50, verbose_name='Путь')), ('page', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='cmsMain.page', verbose_name='Страница')), ('site', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='cmsMain.site', verbose_name='Сайт')), ], options={ 'verbose_name': 'Ссылка', 'verbose_name_plural': 'Ссылок', }, ), ]