categories: adapt to categories being stored in XML
This commit is contained in:
parent
ace1cdcda4
commit
f91cae6640
|
@ -69,6 +69,9 @@ def category_get_limit(self):
|
|||
return 7
|
||||
Category.get_limit = category_get_limit
|
||||
|
||||
Category.TEXT_ATTRIBUTES = ['name', 'url_name', 'description', 'homepage_position']
|
||||
Category.INT_ATTRIBUTES = ['position', 'limit']
|
||||
|
||||
|
||||
class FormsRootDirectory(wcs.forms.root.RootDirectory):
|
||||
|
||||
|
|
Reference in New Issue