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