Initial commit
This commit is contained in:
32
apps/core/migrations/0001_initial.py
Normal file
32
apps/core/migrations/0001_initial.py
Normal file
@@ -0,0 +1,32 @@
|
||||
# Generated by Django 3.2.25 on 2026-04-14 10:01
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='ContactRequest',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('first_name', models.CharField(max_length=100, verbose_name='Prénom')),
|
||||
('last_name', models.CharField(max_length=100, verbose_name='Nom')),
|
||||
('email', models.EmailField(max_length=254, verbose_name='Email')),
|
||||
('phone', models.CharField(blank=True, max_length=20, verbose_name='Téléphone')),
|
||||
('message', models.TextField(verbose_name='Demande')),
|
||||
('created_at', models.DateTimeField(auto_now_add=True, verbose_name='Reçu le')),
|
||||
('is_read', models.BooleanField(default=False, verbose_name='Lu')),
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'Demande de contact',
|
||||
'verbose_name_plural': 'Demandes de contact',
|
||||
'ordering': ['-created_at'],
|
||||
},
|
||||
),
|
||||
]
|
||||
0
apps/core/migrations/__init__.py
Normal file
0
apps/core/migrations/__init__.py
Normal file
Reference in New Issue
Block a user