# Generated by Django 3.2.25 on 2025-12-01 15:33

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='ContactPage',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(default='Contactez-moi', max_length=100, verbose_name='Titre principal')),
                ('subtitle', models.CharField(default='Je suis disponible pour vos projets et collaborations.', max_length=200, verbose_name='Sous-titre')),
                ('success_message', models.CharField(default='Merci ! Votre message a bien été envoyé.', max_length=200, verbose_name='Message de succès')),
                ('seo_title', models.CharField(default='Contact - Mahutin Kenny Evra', max_length=100, verbose_name='Titre SEO')),
                ('seo_description', models.CharField(blank=True, max_length=250, verbose_name='Description SEO')),
            ],
            options={
                'verbose_name': 'Configuration Page Contact',
                'verbose_name_plural': 'Configuration Page Contact',
            },
        ),
        migrations.CreateModel(
            name='Message',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=100, verbose_name='Nom complet')),
                ('email', models.EmailField(max_length=254, verbose_name='Email expéditeur')),
                ('subject', models.CharField(blank=True, max_length=200, verbose_name='Objet')),
                ('content', models.TextField(verbose_name='Message')),
                ('created_at', models.DateTimeField(auto_now_add=True, verbose_name='Reçu le')),
                ('ip_address', models.GenericIPAddressField(blank=True, null=True, verbose_name='Adresse IP')),
                ('is_read', models.BooleanField(default=False, verbose_name='Lu ?')),
            ],
            options={
                'verbose_name': 'Message Reçu',
                'verbose_name_plural': 'Messages Reçus',
                'ordering': ['-created_at'],
            },
        ),
    ]
