diff options
author | luxagraf <sng@luxagraf.net> | 2020-11-15 13:51:04 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-11-15 13:51:04 -0500 |
commit | d9ae96293e551904f29fba23fb50825aba67e7f0 (patch) | |
tree | bf7c1507f0bca1ae3c063276310590b24c5a1210 /app | |
parent | a5a4da9e32fb339132fb5b6dad25e03a9a2e4a9f (diff) |
fixed a bug in homepage build
Diffstat (limited to 'app')
-rw-r--r-- | app/pages/build.py | 3 |
1 files changed, 3 insertions, 0 deletions
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) |