fefa4ka 10 years ago
parent f14b12ac97
commit 1377862cff
  1. 3
      promo/middleware/cookies.py

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

Loading…
Cancel
Save