diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-10-08 23:02:28 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-10-08 23:02:28 -0400 |
commit | 2696371833aa1ccbf263d191b2c849203e3a3981 (patch) | |
tree | 92f7421dfd696d6d13ee7dcc0eddf6ee2362a43f | |
parent | a09ac4f98bad866bc851c1f6da757bb0bbc5f090 (diff) | |
download | askbot-2696371833aa1ccbf263d191b2c849203e3a3981.tar.gz askbot-2696371833aa1ccbf263d191b2c849203e3a3981.tar.bz2 askbot-2696371833aa1ccbf263d191b2c849203e3a3981.zip |
fixed error with stray use of django template loader
-rw-r--r-- | askbot/deps/django_authopenid/views.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/askbot/deps/django_authopenid/views.py b/askbot/deps/django_authopenid/views.py index 4c4c12f0..b3b07721 100644 --- a/askbot/deps/django_authopenid/views.py +++ b/askbot/deps/django_authopenid/views.py @@ -35,7 +35,7 @@ from django.utils import simplejson from django.http import HttpResponseRedirect, get_host, Http404, \ HttpResponseServerError from django.http import HttpResponse -from django.template import RequestContext, loader, Context +from django.template import RequestContext, Context from django.conf import settings from askbot.conf import settings as askbot_settings from django.contrib.auth.models import User @@ -852,7 +852,7 @@ def signup_with_password(request): # send email #subject = _("Welcome email subject line") - #message_template = loader.get_template( + #message_template = ENV.get_template( # 'authopenid/confirm_email.txt' #) #message_context = Context({ @@ -953,7 +953,7 @@ def _send_email_key(user): to user's email address """ subject = _("Email verification subject line") - message_template = loader.get_template('authopenid/email_validation.txt') + message_template = ENV.get_template('authopenid/email_validation.txt') import settings message_context = Context({ 'validation_link': askbot_settings.APP_URL + reverse( |