You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to add the query string (if present) to the URL when switching language, but the request object is not available via the render_language_selector inclusion tag.
Adding takes_context=True to the tag, or by allowing optional arguments to be passed would allow access to the request object.
django.template.context_processors.request is in my existing context processors.
Python 3.8
Django 3.1
Wagtailtrans 2.2
The text was updated successfully, but these errors were encountered:
I need to add the query string (if present) to the URL when switching language, but the
request
object is not available via therender_language_selector
inclusion tag.Adding
takes_context=True
to the tag, or by allowing optional arguments to be passed would allow access to the request object.django.template.context_processors.request
is in my existing context processors.The text was updated successfully, but these errors were encountered: