mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-30 22:29:32 +00:00
fix club detail on ClubView
This commit is contained in:
1 parent
056b3a1702
commit
89efda6e26
2 files changed
+40
No files matched your search
@@ -185,6 +185,7 @@ class ClubView(ClubTabsMixin, DetailView):
|
||||
kwargs["page_revision"] = (
|
||||
PageRev.objects.filter(page_id=self.object.page_id)
|
||||
.order_by("-date")
|
||||
.values_list("content", flat=True)
|
||||
.first()
|
||||
)
|
||||
return kwargs
|
||||
|
||||
Reference in new issue
Block a user