@ -11,6 +11,9 @@ class PageHistoryMiddleware(object):
history = request.session['history']
if not request.current_page:
return
page = request.current_page.id
if page not in history:
history = history + [page]