Skip to content

Commit 3174296

Browse files
committed
changelog
1 parent 113d681 commit 3174296

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
- added changelog page
1212
- features to the pro plan on pricing page
1313

14+
### Fixed
15+
- fixed `FieldError` on publish history page
16+
1417
## [0.0.8] - 2025-11-23
1518

1619
### Added

core/views.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,10 +1023,8 @@ def get_context_data(self, **kwargs):
10231023
context = super().get_context_data(**kwargs)
10241024
project = self.object
10251025

1026-
published_posts = (
1027-
GeneratedBlogPost.objects.filter(project=project, posted=True)
1028-
.select_related("title")
1029-
.order_by("-date_posted", "-updated_at")
1026+
published_posts = GeneratedBlogPost.objects.filter(project=project, posted=True).order_by(
1027+
"-date_posted", "-updated_at"
10301028
)
10311029

10321030
context["published_posts"] = published_posts

0 commit comments

Comments
 (0)