Commit 9382f8d0 authored by Adrien Di Mascio's avatar Adrien Di Mascio
Browse files

ECache should be a meta entity

parent c7c22b210372
......@@ -308,7 +308,15 @@ class see_also(RelationType):
"""generic relation to link one entity to another"""
symetric = True
class ECache(EntityType):
class ECache(MetaEntityType):
"""a simple cache entity characterized by a name and
a validity date.
The target application is responsible for updating timestamp
when necessary to invalidate the cache (typically in hooks).
Also, checkout the AppRsetObject.get_cache() method.
permissions = {
'read': ('managers', 'users', 'guests'),
'add': ('managers',),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment