Skip to content
Snippets Groups Projects
Commit e7c3b0f3 authored by anonymous's avatar anonymous
Browse files

ODPSH-287: make license requiered

parent 8ddb3ae1
No related branches found
No related tags found
No related merge requests found
...@@ -313,7 +313,7 @@ class OdshPlugin(plugins.SingletonPlugin, DefaultTranslation, DefaultDatasetForm ...@@ -313,7 +313,7 @@ class OdshPlugin(plugins.SingletonPlugin, DefaultTranslation, DefaultDatasetForm
'groups': _('Kategorie')}) 'groups': _('Kategorie')})
def _update_schema(self, schema): def _update_schema(self, schema):
for field in ['title', 'notes']:##,'license_id']: for field in ['title', 'notes','license_id']:
schema.update({field: [toolkit.get_converter('not_empty')]}) schema.update({field: [toolkit.get_converter('not_empty')]})
for i, item in enumerate(schema['tags']['name']): for i, item in enumerate(schema['tags']['name']):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment