diff options
Diffstat (limited to 'app/pages')
-rw-r--r-- | app/pages/build.py | 8 |
1 files changed, 5 insertions, 3 deletions
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) |