From d9ae96293e551904f29fba23fb50825aba67e7f0 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 15 Nov 2020 13:51:04 -0500 Subject: fixed a bug in homepage build --- app/pages/build.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app') diff --git a/app/pages/build.py b/app/pages/build.py index 4e48448..80c32c3 100644 --- a/app/pages/build.py +++ b/app/pages/build.py @@ -17,6 +17,9 @@ class BuildPages(BuildNew): class BuildHome(BuildNew): + def get_model_queryset(self): + return self.model.objects.get(pk=1) + def build(self): response = self.client.get('/') self.write_file('', response.content) -- cgit v1.2.3-70-g09d2