diff options
author | luxagraf <sng@luxagraf.net> | 2020-11-15 13:47:57 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-11-15 13:47:57 -0500 |
commit | 466b071fe637cd8d508659de509caeeb013ac9d7 (patch) | |
tree | 99ec179ea14e2370129b14a0687b9f75941b440e /app/pages | |
parent | 6c4a847f047c2b6e1291cab63f01503b3b5da131 (diff) |
fixed some build issues
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) |