Skip to content

Commit 05d8ac4

Browse files
committed
fix: Incompatibility with django 4.0 and higher
1 parent 1d93c21 commit 05d8ac4

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
## [unreleased]
1010

11+
## [0.18.5] - 2023-12-14
12+
13+
- Fixes an incompatibility issue with Django version 4.0 and above.
14+
1115
## [0.18.4] - 2023-12-12
1216

1317
- CI/CD changes

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070

7171
setup(
7272
name="supertokens_python",
73-
version="0.18.4",
73+
version="0.18.5",
7474
author="SuperTokens",
7575
license="Apache 2.0",
7676
author_email="[email protected]",

supertokens_python/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from __future__ import annotations
1515

1616
SUPPORTED_CDI_VERSIONS = ["3.0"]
17-
VERSION = "0.18.4"
17+
VERSION = "0.18.5"
1818
TELEMETRY = "/telemetry"
1919
USER_COUNT = "/users/count"
2020
USER_DELETE = "/user/remove"

supertokens_python/framework/django/django_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def __init__(self, request: HttpRequest):
3030
self.request = request
3131

3232
def get_original_url(self) -> str:
33-
return self.request.get_raw_uri()
33+
return self.request.build_absolute_uri()
3434

3535
def get_query_param(
3636
self, key: str, default: Union[str, None] = None

0 commit comments

Comments
 (0)