aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2022-01-25 10:47:45 +0100
committerAndrea Lepori <alepori@student.ethz.ch>2022-01-25 10:47:53 +0100
commit901bd6cb3b14fc5aa9e2f445ad5f4a81a29b9424 (patch)
treed66ec98a1a34ed663bd8cf019abccf348ed461a7
parentedit terms + change log for new version (diff)
downloadscout-subs-901bd6cb3b14fc5aa9e2f445ad5f4a81a29b9424.tar.gz
scout-subs-901bd6cb3b14fc5aa9e2f445ad5f4a81a29b9424.zip
suppress deprecation warning
Diffstat (limited to '')
-rw-r--r--accounts/views.py7
-rw-r--r--version.txt2
2 files changed, 8 insertions, 1 deletions
diff --git a/accounts/views.py b/accounts/views.py
index cd17552..cef575d 100644
--- a/accounts/views.py
+++ b/accounts/views.py
@@ -27,6 +27,13 @@ from pdf2image.exceptions import (
PDFSyntaxError
)
+# suppress warning about dateparser deprecated dependencies
+import warnings
+warnings.filterwarnings(
+ "ignore",
+ message="The localize method is no longer necessary, as this time zone supports the fold attribute",
+)
+
oauth = OAuth()
hitobito = oauth.register(name="hitobito")
api_url = settings.AUTHLIB_OAUTH_CLIENTS["hitobito"]["api_url"]
diff --git a/version.txt b/version.txt
index 7710394..9a16e5f 100644
--- a/version.txt
+++ b/version.txt
@@ -1,2 +1,2 @@
version=0.5
-rev=1
+rev=2