diff options
Diffstat (limited to 'forum/management/commands')
-rwxr-xr-x | forum/management/commands/send_email_alerts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forum/management/commands/send_email_alerts.py b/forum/management/commands/send_email_alerts.py index 26eb7790..c476e9c9 100755 --- a/forum/management/commands/send_email_alerts.py +++ b/forum/management/commands/send_email_alerts.py @@ -10,6 +10,7 @@ import datetime from django.conf import settings import logging from forum.utils.odict import OrderedDict +from django.contrib.contenttypes.models import ContentType class Command(NoArgsCommand): def handle_noargs(self,**options): @@ -140,7 +141,6 @@ class Command(NoArgsCommand): output.append(_(string) % {'num':number}) def send_email_alerts(self): - #todo: move this to template for user in User.objects.all(): q_list = self.get_updated_questions_for_user(user) |