示例#1
0
文件: models.py 项目: Chaser/rfdocs
 def invalidate_cache(self):
     return memcached_helper.expire_view_cache('rf_keyword_detail',
                                               args=[self.version.library.slug,
                                                     self.version.slug, self.name, ])
示例#2
0
文件: models.py 项目: Chaser/rfdocs
 def invalidate_cache(self):
     return memcached_helper.expire_view_cache('rflibrary_detail',
                                               args=[self.slug])
示例#3
0
文件: models.py 项目: Chaser/rfdocs
 def invalidate_cache(self):
     return memcached_helper.expire_view_cache('rflibraryversion_detail',
                                               args=[self.library.slug, self.slug, ])