Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Added support for Django42 #306

Merged
merged 4 commits into from
Aug 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)