summaryrefslogtreecommitdiff
path: root/app/pages/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/pages/views.py')
-rw-r--r--app/pages/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/pages/views.py b/app/pages/views.py
index bef6529..167ad01 100644
--- a/app/pages/views.py
+++ b/app/pages/views.py
@@ -10,6 +10,8 @@ class PageDetailView(LuxDetailView):
obj = self.get_object()
return ["pages/%s.html" % obj.slug, 'pages/page_detail.html']
+
class PageDetailTXTView(LuxDetailView):
model = Page
slug_field = "slug"
+ template_name = "pages/page_detail.txt"