diff --git a/pages/templatetags/pages_tags.py b/pages/templatetags/pages_tags.py
index <HASH>..<HASH> 100644
--- a/pages/templatetags/pages_tags.py
+++ b/pages/templatetags/pages_tags.py
@@ -239,6 +239,7 @@ def pages_dynamic_tree_menu(context, page, url='/'):
     """
     lang = context.get('lang', pages_settings.PAGE_DEFAULT_LANGUAGE)
     page = get_page_from_string_or_id(page, lang)
+    request = context['request']
     site_id = None
     children = None
     if 'current_page' in context:
@@ -265,6 +266,7 @@ def pages_breadcrumb(context, page, url='/'):
     """
     lang = context.get('lang', pages_settings.PAGE_DEFAULT_LANGUAGE)
     page = get_page_from_string_or_id(page, lang)
+    request = context['request']
     site_id = None
     if page:
         pages_navigation = page.get_ancestors()
It doesn't hurt to have it anyway, so I revert "Remove unecessary request object from the template tags context."

This reverts commit 8b<I>a<I>c2db<I>c5a1b<I>c3fa<I>a.