1. Andriy Kornatskyy
  2. wheezy.web

Commits

Andriy Kornatskyy  committed 1a98c68

Updated tutorial for guestbook application due to depreceated dependency_key.

  • Participants
  • Parent commits 4de81dd
  • Branches default

Comments (0)

Files changed (1)

File doc/tutorial.rst

View file
                 greetings = repo.list_greetings()
             response = self.render_response('list.html',
                     greetings=greetings)
-            response.dependency_key = 'd_list'
+            response.cache_dependency = ('d_list', )
+            #response.cache_dependency.append('d_list')
             return response
 
 Finally let add a trigger that cause the invalidation to occur in cache.