Skip to content

Commit

Permalink
Migrations due to Django 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
molokov committed Dec 26, 2023
1 parent e11bb7b commit 6fd9d9a
Show file tree
Hide file tree
Showing 7 changed files with 180 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Generated by Django 4.2.8 on 2023-12-26 04:40

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('blog', '0003_auto_20170411_0504'),
]

operations = [
migrations.AlterField(
model_name='blogcategory',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
migrations.AlterField(
model_name='blogpost',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
migrations.AlterField(
model_name='blogpost',
name='related_posts',
field=models.ManyToManyField(blank=True, to='blog.blogpost', verbose_name='Related posts'),
),
migrations.AlterField(
model_name='blogpost',
name='user',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='%(class)ss', to=settings.AUTH_USER_MODEL, verbose_name='Author'),
),
]
18 changes: 18 additions & 0 deletions mezzanine/conf/migrations/0002_alter_setting_id.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.2.8 on 2023-12-26 04:40

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('conf', '0001_initial'),
]

operations = [
migrations.AlterField(
model_name='setting',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Generated by Django 4.2.8 on 2023-12-26 04:40

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('core', '0002_auto_20150414_2140'),
]

operations = [
migrations.AlterField(
model_name='sitepermission',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
migrations.AlterField(
model_name='sitepermission',
name='user',
field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='%(class)ss', to=settings.AUTH_USER_MODEL, verbose_name='Author'),
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Generated by Django 4.2.8 on 2023-12-26 04:40

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('forms', '0006_auto_20170425_2225'),
]

operations = [
migrations.AlterField(
model_name='field',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
migrations.AlterField(
model_name='fieldentry',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
migrations.AlterField(
model_name='formentry',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
]
18 changes: 18 additions & 0 deletions mezzanine/galleries/migrations/0003_alter_galleryimage_id.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.2.8 on 2023-12-26 04:40

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('galleries', '0002_auto_20141227_0224'),
]

operations = [
migrations.AlterField(
model_name='galleryimage',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Generated by Django 4.2.8 on 2023-12-26 04:40

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('generic', '0003_auto_20170411_0504'),
]

operations = [
migrations.AlterField(
model_name='assignedkeyword',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
migrations.AlterField(
model_name='keyword',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
migrations.AlterField(
model_name='rating',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
migrations.AlterField(
model_name='rating',
name='user',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='%(class)ss', to=settings.AUTH_USER_MODEL, verbose_name='Rater'),
),
]
18 changes: 18 additions & 0 deletions mezzanine/pages/migrations/0005_alter_page_id.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.2.8 on 2023-12-26 04:40

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('pages', '0004_auto_20170411_0504'),
]

operations = [
migrations.AlterField(
model_name='page',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
]

0 comments on commit 6fd9d9a

Please sign in to comment.