blog-markdown #31
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue