diff options
Diffstat (limited to 'sugar_network/model/context.py')
-rw-r--r-- | sugar_network/model/context.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sugar_network/model/context.py b/sugar_network/model/context.py index 89a0c08..012e450 100644 --- a/sugar_network/model/context.py +++ b/sugar_network/model/context.py @@ -123,3 +123,19 @@ class Context(db.Resource): continue png = blobs.post(svg_to_png(svg, size), 'image/png').digest self.post(prop, png) + + @db.stored_property(default='') + def implement(self, value): + pass + + @db.stored_property(default='') + def favorite(self, value): + pass + + @db.stored_property(default='') + def clone(self, value): + pass + + @db.indexed_property(db.List, prefix='RL', default=[]) + def layer(self, value): + return value |