diff options
author | luxagraf <sng@luxagraf.net> | 2022-12-17 16:38:13 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2022-12-17 16:38:13 -0600 |
commit | 074ec1e21a7bfa867bbb2c35057c19b5cfc375c4 (patch) | |
tree | 69cb480af067e78248757fcce6829df76dda47bc /app/pages/views.py | |
parent | 250c9dabae53407b7e1f76cb619729f2672ed82d (diff) |
pages: got rid of site var in view template func
Diffstat (limited to 'app/pages/views.py')
-rw-r--r-- | app/pages/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/pages/views.py b/app/pages/views.py index a4be450..5262806 100644 --- a/app/pages/views.py +++ b/app/pages/views.py @@ -10,7 +10,7 @@ class PageDetailView(LuxDetailView): def get_template_names(self): obj = self.get_object() - return ["pages/%s/%s.html" % (obj.site.name, obj.slug), 'pages/%s/page_detail.html'% obj.site.name] + return ["pages/%s.html" % (obj.slug), 'pages/page_detail.html'] class PageDetailTXTView(LuxDetailView): |