Exemple #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)
Exemple #2
0
 def path_to_cache_key(path):
     return path_to_cache_key(path.strip('/'), prefix="PAGE-FOR-URL")
Exemple #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)
Exemple #4
0
 def path_to_cache_key(path):
     return path_to_cache_key(path.strip('/'), prefix="PAGE-FOR-URL")