Add initial migrations, admin configurations, and base CSS for the project
This commit is contained in:
parent
16897b6010
commit
8fe6fe5390
19 changed files with 2101 additions and 68 deletions
33
core/migrations/0001_initial.py
Normal file
33
core/migrations/0001_initial.py
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# Generated by Django 6.0 on 2025-12-10 18:32
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='SiteSettings',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('site_name', models.CharField(default='Mon Super Site', max_length=200)),
|
||||
('site_logo', models.ImageField(blank=True, upload_to='settings/')),
|
||||
('contact_email', models.EmailField(blank=True, max_length=254)),
|
||||
('facebook_url', models.URLField(blank=True)),
|
||||
('twitter_url', models.URLField(blank=True)),
|
||||
('youtube_url', models.URLField(blank=True)),
|
||||
('instagram_url', models.URLField(blank=True)),
|
||||
('linkedin_url', models.URLField(blank=True)),
|
||||
('github_url', models.URLField(blank=True)),
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'Réglages du site',
|
||||
'verbose_name_plural': 'Réglages du site',
|
||||
},
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue