diff options
Diffstat (limited to 'management/commands/sendmails.py')
-rw-r--r-- | management/commands/sendmails.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/management/commands/sendmails.py b/management/commands/sendmails.py index 1669bcc..b42d3d5 100644 --- a/management/commands/sendmails.py +++ b/management/commands/sendmails.py @@ -30,11 +30,11 @@ class Command(BaseCommand): courses = Course.objects.get_courses_for_group(subscription.group, begin__gte=start, begin__lt=end) grouped_courses = group_courses(courses) - template = loader.get_template("timetable_email.txt") + template = loader.get_template("mail/mail_timetable.txt") context = Context({"subscription": subscription, "courses": grouped_courses, "week": week}) content[subscription.group.id] = template.render(context) - footer = loader.get_template("mail_footer.txt") + footer = loader.get_template("mail/mail_footer.txt") context = Context({"admins": settings.ADMINS, "token": subscription.token}) mail_content = content[subscription.group.id] + footer.render(context) |