diff options
Diffstat (limited to '')
-rw-r--r-- | accounts/views.py | 7 |
1 files changed, 7 insertions, 0 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"] |