equal
deleted
inserted
replaced
137 return url |
137 return url |
138 |
138 |
139 def action_url(self): |
139 def action_url(self): |
140 return self.absolute_url() + '/follow' |
140 return self.absolute_url() + '/follow' |
141 |
141 |
142 |
|
143 class Card(AnyEntity): |
|
144 """customized class for Card entities""" |
|
145 id = 'Card' |
|
146 rest_attr = 'wikiid' |
|
147 |
|
148 fetch_attrs, fetch_order = fetch_config(['title']) |
|
149 |
|
150 def dc_title(self): |
|
151 return self.title |
|
152 |
|
153 def dc_description(self, format='text/plain'): |
|
154 return self.synopsis or u'' |
|
155 |
|
156 class ECache(AnyEntity): |
142 class ECache(AnyEntity): |
157 """Cache""" |
143 """Cache""" |
158 id = 'ECache' |
144 id = 'ECache' |
159 |
145 |
160 fetch_attrs, fetch_order = fetch_config(['name']) |
146 fetch_attrs, fetch_order = fetch_config(['name']) |