diff options
Diffstat (limited to 'views.py')
-rw-r--r-- | views.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ def subscribe(request, group_slug, year, week): subscription = Subscription(email=request.POST["email"], group=group) subscription.save() - template = loader.get_template("mail_confirm.txt") + template = loader.get_template("mail/mail_confirm.txt") context = Context({"group": group, "admins": settings.ADMINS, "token": subscription.token}) send_mail("Confirmation de l'abonnemenent", template.render(context), settings.DEFAULT_FROM_EMAIL, [request.POST["email"]]) |