Add noreply email property to Site model. Still missing cleaner method and changes in notifications module.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Thu, 19 Feb 2009 16:13:04 +0000
changeset 1389 da41001a097e
parent 1388 237f4cf6936d
child 1390 34e00afd0eac
Add noreply email property to Site model. Still missing cleaner method and changes in notifications module. Patch by: Pawel Solyga Reviewed by: to-be- reviewed
app/soc/models/site.py
--- a/app/soc/models/site.py	Thu Feb 19 08:10:25 2009 +0000
+++ b/app/soc/models/site.py	Thu Feb 19 16:13:04 2009 +0000
@@ -52,3 +52,10 @@
   gmaps_api_key.help_text = ugettext(
       'Valid Google Maps API Key. This key is used for '
       'embedding Google Maps into the website.')
+
+  #: No Reply Email address used for sending notification emails to site users 
+  noreply_email = db.EmailProperty(verbose_name=ugettext('No reply email'))
+  noreply_email.help_text = ugettext(
+      'No reply email address is used for sending emails to site users. '
+      'Email address provided in this field needs to be added as Developer '
+      'in GAE admin console.')