Skip to content

Commit

Permalink
Remove LANGUAGE_SESSION_KEY from localized_redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
jhonatan-lopes committed Feb 22, 2024
1 parent 91baf77 commit 775d84f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion network-api/networkapi/wagtailpages/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def custom404_view(request, exception):
def localized_redirect(request, subpath, destination_path):
lang = request.LANGUAGE_CODE
translation.activate(lang)
request.session[translation.LANGUAGE_SESSION_KEY] = lang
query_string = ""

if request.META["QUERY_STRING"]:
Expand Down

0 comments on commit 775d84f

Please sign in to comment.