moar logs

This commit is contained in:
Christoph J. Scherr 2023-10-01 02:10:46 +02:00
parent a027fd7582
commit ed75a20862
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ def change_lang(context, lang="de", *args, **kwargs):
shamelessly stolen from stackoverflow:
https://stackoverflow.com/a/41147772
"""
logger = logging.getLogger(__name__)
logger.debug(f"changing lang from '{lang}'")
path = context['request'].get_raw_uri()
url = path