initial
This commit is contained in:
39
home/migrations/0001_initial.py
Normal file
39
home/migrations/0001_initial.py
Normal file
@@ -0,0 +1,39 @@
|
||||
# Generated by Django 4.2.4 on 2023-08-31 06:34
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='homePageSEO',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('meta_title', models.CharField(blank=True, max_length=500, null=True)),
|
||||
('meta_description', models.CharField(blank=True, max_length=1000, null=True)),
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='sliderSection',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('image', models.ImageField(upload_to='Home/')),
|
||||
('title', models.CharField(max_length=200)),
|
||||
('subtitle', models.CharField(max_length=200)),
|
||||
('description', models.TextField()),
|
||||
('button1_text', models.CharField(max_length=100)),
|
||||
('button1_url', models.CharField(max_length=500)),
|
||||
('button2_text', models.CharField(max_length=100)),
|
||||
('button2_url', models.CharField(max_length=500)),
|
||||
],
|
||||
options={
|
||||
'verbose_name_plural': '1. Sliders',
|
||||
},
|
||||
),
|
||||
]
|
||||
27
home/migrations/0002_servicesection.py
Normal file
27
home/migrations/0002_servicesection.py
Normal file
@@ -0,0 +1,27 @@
|
||||
# Generated by Django 4.2.4 on 2023-08-31 06:43
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('home', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='serviceSection',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=200)),
|
||||
('short_description', models.CharField(max_length=500)),
|
||||
('fontawesome_icon_class', models.CharField(max_length=100)),
|
||||
('detail_page_image', models.ImageField(upload_to='Services/')),
|
||||
('detail_page_description', models.TextField()),
|
||||
],
|
||||
options={
|
||||
'verbose_name_plural': '1. Services',
|
||||
},
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,37 @@
|
||||
# Generated by Django 4.2.4 on 2023-08-31 06:53
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('home', '0002_servicesection'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='aboutSection',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('subtitle', models.CharField(max_length=200)),
|
||||
('title', models.CharField(max_length=200)),
|
||||
('short_description', models.CharField(max_length=200)),
|
||||
('long_description', models.TextField()),
|
||||
('ranking_number', models.IntegerField()),
|
||||
('tag_line', models.CharField(max_length=200)),
|
||||
('experience', models.CharField(max_length=200)),
|
||||
],
|
||||
options={
|
||||
'verbose_name_plural': '3. About Section',
|
||||
},
|
||||
),
|
||||
migrations.AlterModelOptions(
|
||||
name='servicesection',
|
||||
options={'verbose_name_plural': '2. Service Section'},
|
||||
),
|
||||
migrations.AlterModelOptions(
|
||||
name='slidersection',
|
||||
options={'verbose_name_plural': '1. Slider Section'},
|
||||
),
|
||||
]
|
||||
38
home/migrations/0004_projectcategory_projectsection.py
Normal file
38
home/migrations/0004_projectcategory_projectsection.py
Normal file
@@ -0,0 +1,38 @@
|
||||
# Generated by Django 4.2.4 on 2023-08-31 07:22
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('home', '0003_aboutsection_alter_servicesection_options_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='projectCategory',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=200, verbose_name='project_category')),
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='projectSection',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('image', models.ImageField(upload_to='Projects/')),
|
||||
('title', models.CharField(max_length=200)),
|
||||
('description', models.TextField()),
|
||||
('client', models.CharField(max_length=200)),
|
||||
('company', models.CharField(max_length=200)),
|
||||
('duration', models.CharField(max_length=100)),
|
||||
('category', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='home.projectcategory')),
|
||||
],
|
||||
options={
|
||||
'verbose_name_plural': '5.Project Section',
|
||||
},
|
||||
),
|
||||
|
||||
]
|
||||
@@ -0,0 +1,26 @@
|
||||
# Generated by Django 4.2.4 on 2023-08-31 07:56
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('home', '0004_projectcategory_projectsection'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='clientSection',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('client_name', models.CharField(max_length=100)),
|
||||
('image', models.ImageField(upload_to='Clients/')),
|
||||
],
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='projectcategory',
|
||||
name='name',
|
||||
field=models.CharField(max_length=200),
|
||||
),
|
||||
]
|
||||
17
home/migrations/0007_alter_clientsection_options.py
Normal file
17
home/migrations/0007_alter_clientsection_options.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# Generated by Django 4.2.4 on 2023-08-31 12:36
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('home', '0006_clientsection_alter_projectcategory_name'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='clientsection',
|
||||
options={'verbose_name_plural': '6.Client Section'},
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,30 @@
|
||||
# Generated by Django 4.2.4 on 2023-08-31 14:28
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
('home', '0007_alter_clientsection_options'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='aboutsection',
|
||||
name='image',
|
||||
field=models.ImageField(default='', upload_to='AboutSection/'),
|
||||
preserve_default=False,
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='aboutsection',
|
||||
name='video_thumbnail',
|
||||
field=models.ImageField(default='', upload_to='AboutSection/'),
|
||||
preserve_default=False,
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='aboutsection',
|
||||
name='video_url',
|
||||
field=models.CharField(default='', max_length=500),
|
||||
preserve_default=False,
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 4.2.4 on 2023-09-01 19:13
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('home', '0009_aboutsection_image_aboutsection_video_thumbnail_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='servicesection',
|
||||
name='detail_page_description',
|
||||
field=models.TextField(blank=True, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='servicesection',
|
||||
name='detail_page_image',
|
||||
field=models.ImageField(blank=True, null=True, upload_to='Services/'),
|
||||
),
|
||||
]
|
||||
18
home/migrations/0011_projectcategory_slug.py
Normal file
18
home/migrations/0011_projectcategory_slug.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 4.2.4 on 2023-09-02 15:59
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('home', '0010_alter_servicesection_detail_page_description_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='projectcategory',
|
||||
name='slug',
|
||||
field=models.SlugField(blank=True, null=True),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 4.2.4 on 2023-09-02 16:02
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('home', '0011_projectcategory_slug'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='projectsection',
|
||||
name='slug',
|
||||
field=models.SlugField(blank=True, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='servicesection',
|
||||
name='slug',
|
||||
field=models.SlugField(blank=True, null=True),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,19 @@
|
||||
# Generated by Django 4.2.4 on 2023-09-19 15:56
|
||||
|
||||
import ckeditor.fields
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('home', '0012_projectsection_slug_servicesection_slug'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='servicesection',
|
||||
name='detail_page_description',
|
||||
field=ckeditor.fields.RichTextField(blank=True, null=True),
|
||||
),
|
||||
]
|
||||
18
home/migrations/0014_servicesection_show_call_now_widget.py
Normal file
18
home/migrations/0014_servicesection_show_call_now_widget.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 4.2.4 on 2023-09-19 15:59
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('home', '0013_alter_servicesection_detail_page_description'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='servicesection',
|
||||
name='show_call_now_widget',
|
||||
field=models.BooleanField(default=True),
|
||||
),
|
||||
]
|
||||
19
home/migrations/0015_alter_projectsection_description.py
Normal file
19
home/migrations/0015_alter_projectsection_description.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# Generated by Django 4.2.4 on 2023-09-19 17:05
|
||||
|
||||
import ckeditor.fields
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('home', '0014_servicesection_show_call_now_widget'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='projectsection',
|
||||
name='description',
|
||||
field=ckeditor.fields.RichTextField(),
|
||||
),
|
||||
]
|
||||
164
home/migrations/0016_alter_aboutsection_experience_and_more.py
Normal file
164
home/migrations/0016_alter_aboutsection_experience_and_more.py
Normal file
@@ -0,0 +1,164 @@
|
||||
# Generated by Django 4.2.4 on 2023-10-18 05:15
|
||||
|
||||
import ckeditor.fields
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('home', '0015_alter_projectsection_description'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='aboutsection',
|
||||
name='experience',
|
||||
field=models.CharField(blank=True, max_length=200, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='aboutsection',
|
||||
name='image',
|
||||
field=models.ImageField(blank=True, null=True, upload_to='AboutSection/'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='aboutsection',
|
||||
name='long_description',
|
||||
field=models.TextField(blank=True, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='aboutsection',
|
||||
name='ranking_number',
|
||||
field=models.IntegerField(blank=True, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='aboutsection',
|
||||
name='short_description',
|
||||
field=models.CharField(blank=True, max_length=200, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='aboutsection',
|
||||
name='subtitle',
|
||||
field=models.CharField(blank=True, max_length=200, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='aboutsection',
|
||||
name='tag_line',
|
||||
field=models.CharField(blank=True, max_length=200, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='aboutsection',
|
||||
name='title',
|
||||
field=models.CharField(blank=True, max_length=200, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='aboutsection',
|
||||
name='video_thumbnail',
|
||||
field=models.ImageField(blank=True, null=True, upload_to='AboutSection/'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='aboutsection',
|
||||
name='video_url',
|
||||
field=models.CharField(blank=True, max_length=500, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='clientsection',
|
||||
name='client_name',
|
||||
field=models.CharField(blank=True, max_length=100, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='clientsection',
|
||||
name='image',
|
||||
field=models.ImageField(blank=True, null=True, upload_to='Clients/'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='projectcategory',
|
||||
name='name',
|
||||
field=models.CharField(blank=True, max_length=200, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='projectsection',
|
||||
name='client',
|
||||
field=models.CharField(blank=True, max_length=200, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='projectsection',
|
||||
name='company',
|
||||
field=models.CharField(blank=True, max_length=200, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='projectsection',
|
||||
name='description',
|
||||
field=ckeditor.fields.RichTextField(blank=True, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='projectsection',
|
||||
name='duration',
|
||||
field=models.CharField(blank=True, max_length=100, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='projectsection',
|
||||
name='image',
|
||||
field=models.ImageField(blank=True, null=True, upload_to='Projects/'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='projectsection',
|
||||
name='title',
|
||||
field=models.CharField(blank=True, max_length=200, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='servicesection',
|
||||
name='fontawesome_icon_class',
|
||||
field=models.CharField(blank=True, max_length=100, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='servicesection',
|
||||
name='name',
|
||||
field=models.CharField(blank=True, max_length=200, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='servicesection',
|
||||
name='short_description',
|
||||
field=models.CharField(blank=True, max_length=500, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='slidersection',
|
||||
name='button1_text',
|
||||
field=models.CharField(blank=True, max_length=100, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='slidersection',
|
||||
name='button1_url',
|
||||
field=models.CharField(blank=True, max_length=500, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='slidersection',
|
||||
name='button2_text',
|
||||
field=models.CharField(blank=True, max_length=100, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='slidersection',
|
||||
name='button2_url',
|
||||
field=models.CharField(blank=True, max_length=500, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='slidersection',
|
||||
name='description',
|
||||
field=models.TextField(blank=True, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='slidersection',
|
||||
name='image',
|
||||
field=models.ImageField(blank=True, null=True, upload_to='Home/'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='slidersection',
|
||||
name='subtitle',
|
||||
field=models.CharField(blank=True, max_length=200, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='slidersection',
|
||||
name='title',
|
||||
field=models.CharField(blank=True, max_length=200, null=True),
|
||||
),
|
||||
]
|
||||
19
home/migrations/0017_alter_projectsection_category.py
Normal file
19
home/migrations/0017_alter_projectsection_category.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# Generated by Django 4.2.6 on 2023-10-29 09:03
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('home', '0016_alter_aboutsection_experience_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='projectsection',
|
||||
name='category',
|
||||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='home.projectcategory'),
|
||||
),
|
||||
]
|
||||
0
home/migrations/__init__.py
Normal file
0
home/migrations/__init__.py
Normal file
Reference in New Issue
Block a user