From aab0cac81fd80698a1e81a77fe3a523f46ec09ad Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 15 Nov 2020 16:40:48 -0500 Subject: fixed some urls in templates --- app/pages/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/pages') diff --git a/app/pages/views.py b/app/pages/views.py index 715e7cb..aa31cbe 100644 --- a/app/pages/views.py +++ b/app/pages/views.py @@ -20,7 +20,7 @@ class PageDetailTXTView(LuxDetailView): def get_template_names(self): obj = self.get_object() - return 'pages/%spage_detail.txt'% obj.site.display_name + return 'pages/%spage_detail.txt'% obj.site.name class HomePageList(DetailView): -- cgit v1.2.3-70-g09d2