app/soc/views/models/notification.py
changeset 763 c31a2eb14d6d
parent 762 4e2623e68a0e
child 788 892877b7db07
equal deleted inserted replaced
762:4e2623e68a0e 763:c31a2eb14d6d
   109     new_params['name_short'] = "Notification"
   109     new_params['name_short'] = "Notification"
   110     new_params['name_plural'] = "Notifications"
   110     new_params['name_plural'] = "Notifications"
   111     new_params['url_name'] = "notification"
   111     new_params['url_name'] = "notification"
   112     new_params['module_name'] = "notification"
   112     new_params['module_name'] = "notification"
   113 
   113 
       
   114     new_params['no_create_with_key_fields'] = True
   114     new_params['create_form'] = CreateForm
   115     new_params['create_form'] = CreateForm
   115 
   116 
   116     new_params['edit_redirect'] = '/%(url_name)s/list'
   117     new_params['edit_redirect'] = '/%(url_name)s/list'
   117 
   118 
   118     params = dicts.merge(params, new_params)
   119     params = dicts.merge(params, new_params)