summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--django_authopenid/views.py2
-rw-r--r--templates/question.html2
2 files changed, 1 insertions, 3 deletions
diff --git a/django_authopenid/views.py b/django_authopenid/views.py
index d055396b..218a31a2 100644
--- a/django_authopenid/views.py
+++ b/django_authopenid/views.py
@@ -555,8 +555,6 @@ def send_new_email_key(user,nomessage=False):
import random
random.seed()
user.email_key = '%032x' % random.getrandbits(128)
- print len(user.email_key)
- print user.email_key
user.save()
_send_email_key(user)
if nomessage==False:
diff --git a/templates/question.html b/templates/question.html
index 13d283ed..66713342 100644
--- a/templates/question.html
+++ b/templates/question.html
@@ -8,7 +8,7 @@
{% block forejs %}
<meta name="description" content="{{question.summary}}" />
<meta name="keywords" content="{{question.tagname_meta_generator}}" />
- <link rel="canonical" href="{{question.get_absolute_url}}"/>
+ <link rel="canonical" href="{{settings.APP_URL}}{{question.get_absolute_url}}"/>
{% if not question.closed and request.user.is_authenticated %}
<script type='text/javascript' src='/content/js/com.cnprog.editor.js'></script>
<script type='text/javascript' src='/content/js/wmd/showdown.js'></script>