diff gpp/core/functions.py @ 37:91fd31dc78fb

Removed the database logging stuff. Will replace with Python logging.
author Brian Neal <bgneal@gmail.com>
date Thu, 11 Jun 2009 01:00:31 +0000
parents b3b11edf91d8
children c14cfd6be87a
line wrap: on
line diff
--- a/gpp/core/functions.py	Thu Jun 11 00:54:44 2009 +0000
+++ b/gpp/core/functions.py	Thu Jun 11 01:00:31 2009 +0000
@@ -4,8 +4,6 @@
 from django.contrib.sites.models import Site
 from django.conf import settings
 
-from core import logging
-
 
 def send_mail(subject, message, from_email, recipient_list, 
         fail_silently = False, auth_user = None, auth_password = None):
@@ -18,8 +16,8 @@
         django.core.mail.send_mail(subject, message, from_email, recipient_list,
                 fail_silently, auth_user, auth_password)
 
-    logging.info('EMAIL:\nFrom: %s\nTo: %s\nSubject: %s\nMessage:\n%s' % 
-            (from_email, str(recipient_list), subject, message))
+    #logging.info('EMAIL:\nFrom: %s\nTo: %s\nSubject: %s\nMessage:\n%s' % 
+    #        (from_email, str(recipient_list), subject, message))
 
 
 def email_admins(subject, message):
@@ -50,4 +48,3 @@
         return full_name
     return user.username
 
-# vim: ts=4 sw=4