organization form affects organization controller (#6534)

This commit is contained in:
Serghei Mihai 2015-03-25 00:44:13 +01:00
parent f5d8f6bc12
commit d2be3edc5e
1 changed files with 3 additions and 0 deletions

View File

@ -165,6 +165,9 @@ class OrganizationForm(plugins.SingletonPlugin, DefaultOrganizationForm):
def group_types(self):
return ('organization',)
def group_controller(self):
return 'organization'
def form_to_db_schema(self):
schema = super(OrganizationForm, self).form_to_db_schema()
del schema['name']