diff options
Diffstat (limited to 'app/resume/build.py')
-rw-r--r-- | app/resume/build.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/resume/build.py b/app/resume/build.py index 964aba9..b3007fd 100644 --- a/app/resume/build.py +++ b/app/resume/build.py @@ -15,6 +15,7 @@ class BuildResume(BuildNew): paginate_by=9999 ) self.build_publisher_list() + self.build_pages() def get_model_queryset(self): return self.model.objects.all() @@ -48,6 +49,9 @@ class BuildResume(BuildNew): path = '%s/' % path # write html response = self.client.get(url) + if obj.slug == "resume": + path = "/resume/" + slug = "index" print(path, slug) self.write_file(path, response.content, filename=slug) |