Skip to content

Commit

Permalink
Add django 4.2 migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed Dec 5, 2023
1 parent 1a2ceae commit 59a3867
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Generated by Django 4.2.8 on 2023-12-05 08:03

Check failure on line 1 in djangocms_googlemap/migrations/0012_alter_googlemap_cmsplugin_ptr_and_more.py

View workflow job for this annotation

GitHub Actions / isort

Imports are incorrectly sorted and/or formatted.

Check failure on line 1 in djangocms_googlemap/migrations/0012_alter_googlemap_cmsplugin_ptr_and_more.py

View workflow job for this annotation

GitHub Actions / isort

Imports are incorrectly sorted and/or formatted.

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


class Migration(migrations.Migration):

dependencies = [
('cms', '0022_auto_20180620_1551'),
('djangocms_googlemap', '0011_googlemap_map_id'),
]

operations = [
migrations.AlterField(
model_name='googlemap',
name='cmsplugin_ptr',
field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='%(app_label)s_%(class)s', serialize=False, to='cms.cmsplugin'),
),
migrations.AlterField(
model_name='googlemapmarker',
name='cmsplugin_ptr',
field=models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='%(app_label)s_%(class)s', serialize=False, to='cms.cmsplugin'),
),
migrations.AlterField(
model_name='googlemaproute',
name='cmsplugin_ptr',
field=models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='%(app_label)s_%(class)s', serialize=False, to='cms.cmsplugin'),
),
]
2 changes: 1 addition & 1 deletion tests/requirements/dj42_cms311.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-r base.txt

Django>=3.2,<3.3
Django>=4.2,<4.3
django-cms>=3.11,<3.12
4 changes: 4 additions & 0 deletions tests/requirements/dj50_cms311.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-r base.txt

Django>=4.2,<4.3
django-cms>=3.11,<3.12

0 comments on commit 59a3867

Please sign in to comment.