Skip to content

Commit 16daaac

Browse files
Merge pull request #400 from openedx/zshkoor/django42
fix: Added support for django 42
2 parents 9225002 + c9e4845 commit 16daaac

5 files changed

Lines changed: 11 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
matrix:
1616
os: [ubuntu-20.04]
1717
python-version: ['3.8']
18-
toxenv: [py38-django32, py38-django40, quality]
18+
toxenv: [py38-django32, py38-django42, quality]
1919

2020
steps:
2121
- uses: actions/checkout@v2
@@ -36,7 +36,7 @@ jobs:
3636
run: tox
3737

3838
- name: Run Coverage
39-
if: matrix.python-version == '3.8' && matrix.toxenv=='py38-django32'
39+
if: matrix.python-version == '3.8' && matrix.toxenv=='py38-django42'
4040
uses: codecov/codecov-action@v1
4141
with:
4242
flags: unittests

CHANGELOG.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ Please See the `releases tab <https://github.com/openedx/xblock-lti-consumer/rel
1616
Unreleased
1717
~~~~~~~~~~
1818

19+
9.6.0 - 2023-08-01
20+
------------------
21+
* Added support for Django 4.2
22+
1923
9.5.7 - 2023-07-27
2024
------------------
2125
* Fixed ACS actions constant.

lti_consumer/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
from .apps import LTIConsumerApp
55
from .lti_xblock import LtiConsumerXBlock
66

7-
__version__ = '9.5.7'
7+
__version__ = '9.6.0'

lti_consumer/admin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
)
1515

1616

17+
@admin.register(LtiConfiguration)
1718
class LtiConfigurationAdmin(admin.ModelAdmin):
1819
"""
1920
Admin view for LtiConfiguration models.
@@ -23,6 +24,7 @@ class LtiConfigurationAdmin(admin.ModelAdmin):
2324
readonly_fields = ('location', 'config_id')
2425

2526

27+
@admin.register(CourseAllowPIISharingInLTIFlag)
2628
class CourseAllowPIISharingInLTIFlagAdmin(KeyedConfigurationModelAdmin):
2729
"""
2830
Admin for enabling PII Sharing in LTI on course-by-course basis.
@@ -38,8 +40,6 @@ class CourseAllowPIISharingInLTIFlagAdmin(KeyedConfigurationModelAdmin):
3840
)
3941

4042

41-
admin.site.register(CourseAllowPIISharingInLTIFlag, CourseAllowPIISharingInLTIFlagAdmin)
42-
admin.site.register(LtiConfiguration, LtiConfigurationAdmin)
4343
admin.site.register(LtiAgsLineItem)
4444
admin.site.register(LtiAgsScore)
4545
admin.site.register(LtiDlContentItem)

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[tox]
2-
envlist = py38-django{32,40}, quality
2+
envlist = py38-django{32,42}, quality
33

44
[testenv]
55
whitelist_externals =
66
make
77
deps =
88
django32: Django>=3.2,<4.0
9-
django40: Django>=4.0,<4.1
9+
django42: Django>=4.2,<4.3
1010
-r{toxinidir}/requirements/test.txt
1111
commands =
1212
make test

0 commit comments

Comments
 (0)