diff options
author | luxagraf <sng@luxagraf.net> | 2020-11-15 16:34:50 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-11-15 16:34:50 -0500 |
commit | 9f4781cbe304b29212f10b88130d27aa8984275e (patch) | |
tree | 3f750fa02909de7af48c0cf0d83efd43c481216c /app/pages/views.py | |
parent | 548ed0739f559656aba6eda379ee65159640fba2 (diff) |
fixed a naming bug in pages build
Diffstat (limited to 'app/pages/views.py')
-rw-r--r-- | app/pages/views.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/pages/views.py b/app/pages/views.py index 1356729..49ff574 100644 --- a/app/pages/views.py +++ b/app/pages/views.py @@ -11,8 +11,7 @@ class PageDetailView(LuxDetailView): def get_template_names(self): obj = self.get_object() - return ["pages/%s/%s.html" % (obj.site.display_name, obj.slug), \ - 'pages/%spage_detail.html'% obj.site.display_name] + return ["pages/%s/%s.html" % (obj.site.name, obj.slug), 'pages/%spage_detail.html'% obj.site.name] class PageDetailTXTView(LuxDetailView): |