]> git.parisson.com Git - teleforma.git/commitdiff
fix domain
authoryomguy <yomguy@parisson.com>
Wed, 13 Mar 2013 18:07:31 +0000 (19:07 +0100)
committeryomguy <yomguy@parisson.com>
Wed, 13 Mar 2013 18:07:31 +0000 (19:07 +0100)
teleforma/views/pro.py

index 16a14886d96a386d97bbcd2b68e792dc363f9fbd..5c30ce8081245f41116909c7daccb5f2c5373afd 100644 (file)
@@ -313,7 +313,7 @@ class AnswersView(ListView):
         context['first_name'] = user.first_name
         context['last_name'] = user.last_name
         context['rank'] = answer.question.rank
-        context['domain'] = site.name
+        context['domain'] = site.domain
         context['path'] = path
         context['title'] = title
         context['organization'] = organization
@@ -372,7 +372,7 @@ class AnswersView(ListView):
         context['first_name'] = user.first_name
         context['last_name'] = user.last_name
         context['rank'] = answer.question.rank
-        context['domain'] = site.name
+        context['domain'] = site.domain
         context['path'] = path
         context['title'] = title
         context['organization'] = organization
@@ -417,7 +417,7 @@ class AnswerDetailViewTest(DetailView):
 
         context['last_name'] = user.last_name
         context['rank'] = answer.question.rank
-        context['domain'] = site.name
+        context['domain'] = site.domain
         context['path'] = path
         context['title'] = title
         context['organization'] = organization