summaryrefslogtreecommitdiff
path: root/app/pages
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-11-15 13:47:57 -0500
committerluxagraf <sng@luxagraf.net>2020-11-15 13:47:57 -0500
commit466b071fe637cd8d508659de509caeeb013ac9d7 (patch)
tree99ec179ea14e2370129b14a0687b9f75941b440e /app/pages
parent6c4a847f047c2b6e1291cab63f01503b3b5da131 (diff)
fixed some build issues
Diffstat (limited to 'app/pages')
-rw-r--r--app/pages/build.py8
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)