From 3cb39206c154cfe82a4a8eeddf081c94026a2816 Mon Sep 17 00:00:00 2001 From: vilmibm Date: Wed, 3 Jul 2019 21:18:08 +0000 Subject: [PATCH] oops --- ttadmin/users/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ttadmin/users/models.py b/ttadmin/users/models.py index c731f0a..78e473e 100644 --- a/ttadmin/users/models.py +++ b/ttadmin/users/models.py @@ -10,7 +10,7 @@ from django.contrib.auth.models import User from django.db.models import TextField, BooleanField, CharField, ForeignKey from django.template.loader import get_template -from common.mailing import send_email, ADMIN_NAME +from common.mailing import send_email from help.models import Ticket logger = logging.getLogger() @@ -58,7 +58,7 @@ class Townie(User): welcome_tmpl = get_template('users/welcome_email.txt') context = { 'username': self.username, - 'admin_name': ADMIN_NAME, + 'admin_name': 'vilmibm', } text = welcome_tmpl.render(context) success = send_email(self.email, text, subject='tilde.town!')