Permalink
Browse files

index pagination includes self.path as salt

without two index views in conf.py conflict with their hashes and cause
a re-rendering from cache.
  • Loading branch information...
1 parent a82d1d3 commit eb08a70aea1b833a6757f588f94e56d479eec273 @posativ committed Nov 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 acrylamid/views/index.py
View
@@ -36,7 +36,7 @@ def generate(self, request):
tt = self.env.engine.fromfile(self.template)
entrylist = [entry for entry in request['entrylist'] if not entry.draft]
- paginator = paginate(entrylist, ipp, orphans=self.conf['default_orphans'])
+ paginator = paginate(entrylist, ipp, salt=self.path, orphans=self.conf.default_orphans)
route = self.path
for (next, curr, prev), entries, has_changed in paginator:

0 comments on commit eb08a70

Please sign in to comment.