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