Skip to content

Commit 9d291a6

Browse files
committed
fix(django): upgrade django to 4.2.24, bump most minor deps
1 parent 4dbd0f2 commit 9d291a6

2 files changed

Lines changed: 16 additions & 14 deletions

File tree

arena_account/settings.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
# SECURITY WARNING: don't run with debug turned on in production!
2828
DEBUG = True
2929

30-
ALLOWED_HOSTS = ["localhost", "127.0.0.1", "[::1]", "arena-account", "host.docker.internal", "localhost"]
30+
ALLOWED_HOSTS = ["localhost", "127.0.0.1", "[::1]", "arena-account", "host.docker.internal", "localhost"]
31+
ALLOWED_SCHEME = "https://"
32+
CSRF_TRUSTED_ORIGINS = [ALLOWED_SCHEME + host for host in ALLOWED_HOSTS]
3133

3234
X_FRAME_OPTIONS = "SAMEORIGIN"
3335
MQTT_TOKEN_PRIVKEY = os.getenv("MQTT_TOKEN_PRIVKEY")
@@ -265,7 +267,6 @@
265267

266268
USE_I18N = True
267269

268-
269270
USE_TZ = True
270271

271272

requirements.txt

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
Django==3.2.25
2-
django-crispy-forms==1.9.2
1+
Django==4.2.24
2+
django-crispy-forms==2.4.0
33
django-allauth==0.44.0
4-
pyjwt==2.4.0
5-
cryptography==43.0.1
6-
google-api-python-client==1.12.8
7-
djangorestframework==3.12.4
4+
pyjwt==2.10.1
5+
cryptography==45.0.7
6+
google-api-python-client==2.181.0
7+
djangorestframework==3.16.1
88
django-rest-swagger==2.2.0
99
coreapi==2.3.3
10-
pyyaml==6.0.1
11-
uritemplate==3.0.1
12-
drf-yasg==1.20.0
13-
python-dotenv==0.17.0
14-
requests==2.32.2
15-
django-autocomplete-light==3.8.2
10+
pyyaml==6.0.2
11+
uritemplate==4.2.0
12+
drf-yasg==1.21.7
13+
python-dotenv==1.1.1
14+
requests==2.32.5
15+
django-autocomplete-light==3.12.1
16+
pre-commit

0 commit comments

Comments
 (0)