diff options
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/build.py | 2 | ||||
-rw-r--r-- | app/src/models.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/src/build.py b/app/src/build.py index ec79458..e6119e7 100644 --- a/app/src/build.py +++ b/app/src/build.py @@ -38,7 +38,7 @@ class BuildSrc(BuildNew): def builder(): - j = BuildSrc("src", "entry") + j = BuildSrc("src", "post") j.build() diff --git a/app/src/models.py b/app/src/models.py index ce78c24..fc0a5fc 100644 --- a/app/src/models.py +++ b/app/src/models.py @@ -74,7 +74,7 @@ class Post(models.Model): def save(self): md = image_url_replace(self.body_markdown) self.body_html = markdown_to_html(md) - super(Entry, self).save() + super(Post, self).save() def get_upload_path(self, filename): @@ -160,7 +160,7 @@ class SrcSitemap(Sitemap): def items(self): return list(chain( - Entry.objects.all(), + Post.objects.all(), Book.objects.all(), Topic.objects.all() )) |