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