|
|
|
|
@ -41,6 +41,7 @@ from django.template.loader import render_to_string, get_template |
|
|
|
|
from django.utils.encoding import smart_str |
|
|
|
|
from django.utils.encoding import smart_unicode |
|
|
|
|
from django.utils.translation import ugettext as _ |
|
|
|
|
from django.utils import timezone |
|
|
|
|
from django.core.files.storage import default_storage |
|
|
|
|
from django.core.urlresolvers import reverse |
|
|
|
|
from django.core.exceptions import SuspiciousOperation |
|
|
|
|
@ -653,7 +654,7 @@ class Mailer(NewsLetterSender): |
|
|
|
|
# FIXME: Временно сделана отправка только 1 письма. |
|
|
|
|
# См FIXME в команде send_newsletter |
|
|
|
|
for i, contact in enumerate(expedition_list, 1): |
|
|
|
|
print 'sending to contact id:', contact.pk |
|
|
|
|
print 'sending to contact id: %s (%s)' % (contact.pk, timezone.now()) |
|
|
|
|
send = True |
|
|
|
|
# if self.verbose: |
|
|
|
|
# print '- Processing %s/%s (%s)' % ( |
|
|
|
|
|