app/soc/views/models/org_app.py
changeset 1754 63fa0e7f8f47
parent 1726 711c8dcab67e
child 1763 6bd59cad39a5
--- a/app/soc/views/models/org_app.py	Sun Mar 08 17:41:02 2009 +0000
+++ b/app/soc/views/models/org_app.py	Sun Mar 08 18:09:04 2009 +0000
@@ -210,7 +210,7 @@
         # use the accepted template and subject
         template = params['accepted_mail_template']
         context['subject'] = 'Congratulations!'
-        context['HTTP_host'] = os.environ['HTTP_HOST']
+        context['HTTP_host'] = 'http://%s' %(os.environ['HTTP_HOST'])
       elif status == 'rejected':
         # use the rejected template and subject
         template = params['rejected_mail_template']