Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit 9ac4c15

Browse files
sveetchfsbraun
andauthored
Fix pending migration implied by Django 4.0 changes (#634) (#635)
* Fix pending migration implied by Django 4.0 changes (#634) - Added new migration as expected by Django 4.0 - Pinned django-filer>=1.4.0,<2.1 in tests base requirements because it is incompatible with supported Django versions from tox config Co-authored-by: Fabian Braun <[email protected]>
1 parent 615741f commit 9ac4c15

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

.github/workflows/frontend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
node-version: [16.x, 17.x]
10+
node-version: [16.x]
1111
steps:
1212
- uses: actions/checkout@v3
1313
- name: Use Node.js ${{ matrix.node-version }}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import django.db.models.deletion
2+
from django.db import migrations, models
3+
4+
5+
class Migration(migrations.Migration):
6+
7+
dependencies = [
8+
('cms', '0022_auto_20180620_1551'),
9+
('djangocms_text_ckeditor', '0004_auto_20160706_1339'),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name='text',
15+
name='cmsplugin_ptr',
16+
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'),
17+
),
18+
]

tests/requirements/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# requirements from setup.py
2-
django-filer>=1.4.0
2+
django-filer>=1.4.0,<2.1
33
djangocms-picture>=2.1.0
44
djangocms-link>=2.2.1
55
django-polymorphic>=2.0.3

0 commit comments

Comments
 (0)