Skip to content

Commit

Permalink
Upgrade build matrix to support Django 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hugorodgerbrown committed Nov 14, 2023
1 parent c031da8 commit 3489284
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@

All notable changes to this project will be documented in this file.

## [2.2] - unreleased
## [2.3] - 2023-11-14

- Add Django 5.0 to build matrix
- Add Python 3.12 to build matrix

No code changes.

## [2.2] - 2023-11-14

- Add support for searching in admin by JWT [fixes #59]
- Add suppoort for disabling logging on a per-view basis [fixes #55]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "django-request-token"
version = "2.2"
version = "2.3"
description = "JWT-backed Django app for managing querystring tokens."
license = "MIT"
authors = ["YunoJuno <code@yunojuno.com>"]
Expand Down
2 changes: 1 addition & 1 deletion request_token/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def inner(*args: Any, **kwargs: Any) -> HttpResponse:
# arg is.
request = _get_request_arg(*args)
token: RequestToken | None = getattr(request, "token", None)
if not view_func:
if view_func is None:
raise ValueError("Missing view_func")

if token is None:
Expand Down

0 comments on commit 3489284

Please sign in to comment.