summaryrefslogtreecommitdiffstats
path: root/forum/sitemap.py
diff options
context:
space:
mode:
Diffstat (limited to 'forum/sitemap.py')
-rw-r--r--forum/sitemap.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/forum/sitemap.py b/forum/sitemap.py
index dc97a009..c0c60b5e 100644
--- a/forum/sitemap.py
+++ b/forum/sitemap.py
@@ -9,3 +9,6 @@ class QuestionsSitemap(Sitemap):
def lastmod(self, obj):
return obj.last_activity_at
+
+ def location(self, obj):
+ return obj.get_absolute_url()