From 466b071fe637cd8d508659de509caeeb013ac9d7 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 15 Nov 2020 13:47:57 -0500 Subject: fixed some build issues --- app/pages/build.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'app/pages') diff --git a/app/pages/build.py b/app/pages/build.py index 2309983..4e48448 100644 --- a/app/pages/build.py +++ b/app/pages/build.py @@ -15,6 +15,8 @@ class BuildPages(BuildNew): return self.model.objects.filter(build=True) -def builder(): - j = BuildPages("pages", "Page") - j.build() +class BuildHome(BuildNew): + + def build(self): + response = self.client.get('/') + self.write_file('', response.content) -- cgit v1.2.3-70-g09d2