Set no_create_with_key_fields paramater to True for Notifications.
authorLennard de Rijk <ljvderijk@gmail.com>
Mon, 29 Dec 2008 18:51:36 +0000
changeset 763 c31a2eb14d6d
parent 762 4e2623e68a0e
child 764 e0293fa7b342
Set no_create_with_key_fields paramater to True for Notifications. Patch by: Lennard de Rijk
app/soc/views/models/notification.py
--- a/app/soc/views/models/notification.py	Thu Dec 18 09:52:20 2008 +0000
+++ b/app/soc/views/models/notification.py	Mon Dec 29 18:51:36 2008 +0000
@@ -111,6 +111,7 @@
     new_params['url_name'] = "notification"
     new_params['module_name'] = "notification"
 
+    new_params['no_create_with_key_fields'] = True
     new_params['create_form'] = CreateForm
 
     new_params['edit_redirect'] = '/%(url_name)s/list'