# Generated by Django 5.2.8 on 2025-12-06 15:03

import django.contrib.sites.models
import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ("modules", "0002_initial"),
        ("pages", "0001_initial"),
        ("sites", "0001_initial"),
    ]

    operations = [
        migrations.CreateModel(
            name="SiteProxy",
            fields=[],
            options={
                "verbose_name": "Site",
                "verbose_name_plural": "Sites",
                "permissions": [
                    ("add_siteproxy", "Can add site"),
                    ("change_siteproxy", "Can change site"),
                    ("delete_siteproxy", "Can delete site"),
                    ("view_siteproxy", "Can view site"),
                ],
                "proxy": True,
                "default_permissions": (),
                "indexes": [],
                "constraints": [],
            },
            bases=("sites.site",),
            managers=[
                ("objects", django.contrib.sites.models.SiteManager()),
            ],
        ),
        migrations.AddField(
            model_name="landing",
            name="module",
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name="landings",
                to="modules.module",
            ),
        ),
    ]
