diff options
author | luxagraf <sng@luxagraf.net> | 2019-05-03 12:24:25 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-05-03 12:24:25 -0500 |
commit | e43cbc1a487b8ea45c05a4b394a7c60ffc4c0ba4 (patch) | |
tree | 8ef4800ef56bdadbc88158ec50f96e40b514b882 /app/links/build.py | |
parent | 0e59ad7de18bffcf6a62f9ee61275b4951c27358 (diff) |
added build system
Diffstat (limited to 'app/links/build.py')
-rw-r--r-- | app/links/build.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/links/build.py b/app/links/build.py index 392e991..cc57884 100644 --- a/app/links/build.py +++ b/app/links/build.py @@ -4,7 +4,7 @@ from django.urls import reverse from . import models -class BuildEssays(BuildNew): +class BuildLinks(BuildNew): def build(self): self.build_list_view() @@ -13,10 +13,10 @@ class BuildEssays(BuildNew): #self.build_feed("src:feed") def build_list_view(self): - response = self.client.get('/essays/') - self.write_file('essays/', response.content) + response = self.client.get('/linked/') + self.write_file('linked/', response.content) -def essaybuilder(): - j = BuildEssays("essays", "essay") +def linkbuilder(): + j = BuildLinks("links", "link") j.build() |