diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2009-08-12 15:48:15 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2009-08-12 15:48:15 -0400 |
commit | ac3233d4f09d71abf086820863c6854d19c05677 (patch) | |
tree | eba6f113554c1553a41567dca6c5776cd4aadf25 | |
parent | 5c6fceae98c0916c94ec5b919950c67475f44b67 (diff) | |
download | askbot-ac3233d4f09d71abf086820863c6854d19c05677.tar.gz askbot-ac3233d4f09d71abf086820863c6854d19c05677.tar.bz2 askbot-ac3233d4f09d71abf086820863c6854d19c05677.zip |
Added Adolfo's canonical url link fix
-rw-r--r-- | django_authopenid/views.py | 2 | ||||
-rw-r--r-- | templates/question.html | 2 |
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> |