0013_alter_page_p_menu_parent.py 565 B

12345678910111213141516171819
  1. # Generated by Django 3.2.23 on 2024-01-18 20:59
  2. from django.db import migrations, models
  3. import django.db.models.deletion
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ('core', '0012_page_p_menu_est_parent'),
  7. ]
  8. operations = [
  9. migrations.AlterField(
  10. model_name='page',
  11. name='p_menu_parent',
  12. field=models.ForeignKey(blank=True, limit_choices_to={'p_menu_est_parent': True}, null=True, on_delete=django.db.models.deletion.PROTECT, to='core.page', verbose_name='Parent'),
  13. ),
  14. ]