Skip to content

Commit

Permalink
Merge pull request #306 from openedx/zshkoor/django42
Browse files Browse the repository at this point in the history
fix: Added support for Django42
  • Loading branch information
zubairshakoorarbisoft authored Aug 2, 2023
2 parents 80920f9 + 6f8b823 commit 7d0eee0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
matrix:
os: [ubuntu-20.04]
python-version: ['3.8']
toxenv: [django32, django40]
toxenv: [django32, django42]
steps:
- uses: actions/checkout@v2

Expand All @@ -40,7 +40,7 @@ jobs:
run: xvfb-run --server-args=-ac -- tox -e ${{ matrix.toxenv }}

- name: Upload coverage to CodeCov
if: matrix.python-version == '3.8' && matrix.toxenv == 'django32'
if: matrix.python-version == '3.8' && matrix.toxenv == 'django42'
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Change history for XBlock SDK

These are notable changes in XBlock.

0.7.0
-----
* Added support for Django 4.2

0.6.0
-----
* Removed boto usage.
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ whitelist_externals =
make
deps =
django32: Django>=3.2,<4.0
django40: Django>=4.0,<4.1
django42: Django>=4.2,<4.3
-r{toxinidir}/requirements/test.txt
passenv =
DISPLAY
Expand Down
2 changes: 1 addition & 1 deletion workbench/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Provide a djangoapp for XBlock development
"""

__version__ = '0.6.0'
__version__ = '0.7.0'
2 changes: 1 addition & 1 deletion workbench/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from .models import XBlockState


@admin.register(XBlockState)
class XBlockStateAdmin(admin.ModelAdmin):
"""Basic admin operations for XBlockState model.
Expand All @@ -25,4 +26,3 @@ class XBlockStateAdmin(admin.ModelAdmin):
]


admin.site.register(XBlockState, XBlockStateAdmin)

0 comments on commit 7d0eee0

Please sign in to comment.