Esempio n. 1
0
 def path_to_cache_key(cls, path):
     prefix = "%s-FOR-URL" % cls.__name__.upper()
     return path_to_cache_key(path.strip('/'), prefix=prefix)
Esempio n. 2
0
 def path_to_cache_key(path):
     return path_to_cache_key(path.strip('/'), prefix="PAGE-FOR-URL")
Esempio n. 3
0
 def path_to_cache_key(cls, path):
     prefix = "%s-FOR-URL" % cls.__name__.upper()
     return path_to_cache_key(path.strip('/'), prefix=prefix)
Esempio n. 4
0
 def path_to_cache_key(path):
     return path_to_cache_key(path.strip('/'), prefix="PAGE-FOR-URL")