Open
Description
Description
djangocms 3.11.4 is missing migrations for plugins.
Steps to reproduce
- Install e.g. djangocms 3.11.0 with django 4.0
- Create a new project and add django cms to the INSTALLED_APPS as per the instructions
- Install a plugin, e.g. djangocms_column, djangocms_googlemap, djangocms_picture, djangocms_style, or djangocms_video
- Run
./manage.py migrate
- Run
pip install -U django-cms
- Run
./manage.py makemigrations
and notice that there are missing migrations for every plugin
Expected behaviour
Migrations are part of the packages.
Actual behaviour
Migrations are missing.
Screenshots
Example missing migration for cmsplugin_style:
Migrations for 'djangocms_style':
env/lib/python3.10/site-packages/djangocms_style/migrations/0008_alter_style_cmsplugin_ptr.py
- Alter field cmsplugin_ptr on style
Full migrations file '0008_alter_style_cmsplugin_ptr.py':
# Generated by Django 4.2.5 on 2023-09-26 12:31
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('cms', '0022_auto_20180620_1551'),
('djangocms_style', '0007_style_template'),
]
operations = [
migrations.AlterField(
model_name='style',
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'),
),
]
Do you want to help fix this issue?
- Yes, I want to help fix this issue and I will join #workgroup-pr-review on Slack to confirm with the community that a PR is welcome.
- No, I only want to report the issue.
Metadata
Metadata
Assignees
Labels
No labels