forked from django-cms/django-cms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: django 5 support for cms 3.11 (django-cms#7724)
* feat: django 5 support (django-cms#7648) * Support for Django 5.0 * Fix: test.yml and django Promise handling * Shorten github action names * Update test.yml * Update _cms.scss * Update setup.py * fix: django 5's choice widget is not lazy (django-cms#7707) * Support for Django 5.0 * Fix: test.yml and django Promise handling * Shorten github action names * Update test.yml * Update _cms.scss * Update setup.py * Fix: Django 5 choice widget is not lazy either * Add test * Fix: Swapped underscore * Deprecate SuperLazyIterator and LazyChoiceField * Fix toolbar tests * Fix import sorting * Remove Django 2.2 as it was before * Remove useless DJANGO_5_0 compat variable * Pin correct Django 5.0 version Co-authored-by: Fabian Braun <[email protected]> * Do not deprecate LazyChoiceField Co-authored-by: Fabian Braun <[email protected]> * Do not deprecate SuperLazyIterator Co-authored-by: Fabian Braun <[email protected]> * Remove unused warning import --------- Co-authored-by: Fabian Braun <[email protected]>
- Loading branch information
Showing
12 changed files
with
95 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ concurrency: | |
cancel-in-progress: true | ||
|
||
jobs: | ||
database-postgres: | ||
postgres: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
|
@@ -18,10 +18,16 @@ jobs: | |
django-4.0.txt, | ||
django-4.1.txt, | ||
django-4.2.txt, | ||
django-5.0.txt | ||
] | ||
os: [ | ||
ubuntu-20.04, | ||
] | ||
exclude: | ||
- requirements-file: django-5.0.txt | ||
python-version: 3.8 | ||
- requirements-file: django-5.0.txt | ||
python-version: 3.9 | ||
|
||
services: | ||
postgres: | ||
|
@@ -59,7 +65,7 @@ jobs: | |
DATABASE_URL: postgres://postgres:[email protected]/postgres | ||
|
||
|
||
database-mysql: | ||
mysql: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
|
@@ -70,10 +76,16 @@ jobs: | |
django-4.0.txt, | ||
django-4.1.txt, | ||
django-4.2.txt, | ||
django-5.0.txt | ||
] | ||
os: [ | ||
ubuntu-20.04, | ||
] | ||
exclude: | ||
- requirements-file: django-5.0.txt | ||
python-version: 3.8 | ||
- requirements-file: django-5.0.txt | ||
python-version: 3.9 | ||
|
||
services: | ||
mysql: | ||
|
@@ -111,7 +123,7 @@ jobs: | |
env: | ||
DATABASE_URL: mysql://[email protected]/djangocms_test | ||
|
||
database-sqlite: | ||
sqlite: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
|
@@ -122,10 +134,16 @@ jobs: | |
django-4.0.txt, | ||
django-4.1.txt, | ||
django-4.2.txt, | ||
django-5.0.txt | ||
] | ||
os: [ | ||
ubuntu-20.04, | ||
] | ||
exclude: | ||
- requirements-file: django-5.0.txt | ||
python-version: 3.8 | ||
- requirements-file: django-5.0.txt | ||
python-version: 3.9 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-r requirements_base.txt | ||
Django>=5.0,<5.1 |