Skip to content

Commit

Permalink
Stop loading catalogs, using the cached version is fine
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Aug 9, 2024
1 parent a225cfe commit 45fc43c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion projects/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,5 +247,5 @@ def as_html(self):
action=self.get_action_display(),
user=self.user or self.user_string,
project=self.project or self.project_string,
catalog=self.catalog or self.catalog_string,
catalog=self.catalog_string,
)
2 changes: 1 addition & 1 deletion projects/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def project(request, slug):
"project": project,
"toml": project.toml(request=request),
"activity": Event.objects.filter(project=project).select_related(
"user", "project", "catalog"
"user", "project"
)[:30],
},
)
Expand Down

0 comments on commit 45fc43c

Please sign in to comment.