app/soc/views/models/site.py
changeset 1396 2238f2af7428
parent 1343 4ba39392c854
child 1430 ff8cc6b15e6a
--- a/app/soc/views/models/site.py	Thu Feb 19 19:56:24 2009 +0000
+++ b/app/soc/views/models/site.py	Thu Feb 19 19:57:07 2009 +0000
@@ -26,6 +26,7 @@
 from django.utils.translation import ugettext
 
 from soc.logic import accounts
+from soc.logic import cleaning
 from soc.logic import dicts
 from soc.views.helper import access
 from soc.views.helper import redirects
@@ -72,6 +73,7 @@
 
     new_params['create_extra_dynafields'] = {
         'link_id': forms.CharField(widget=forms.HiddenInput, required=True),
+        'clean_noreply_email': cleaning.clean_empty_field('noreply_email'),
         }
     new_params['edit_extra_dynafields'] = {
         'link_id': forms.CharField(widget=forms.HiddenInput, required=True),