forked from CGM_Public/pretix_original
Cache access to cache object
This commit is contained in:
@@ -59,7 +59,7 @@ def eventreverse(obj, name, kwargs=None):
|
||||
|
||||
c = None
|
||||
if not kwargs:
|
||||
c = obj.get_cache()
|
||||
c = obj.cache
|
||||
url = c.get('urlrev_{}'.format(name))
|
||||
if url:
|
||||
return url
|
||||
|
||||
Reference in New Issue
Block a user