Skip to content

Commit

Permalink
We load the project anyway, so load the project
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Jul 5, 2024
1 parent 34eb0f5 commit 8411532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def project(request, slug):
@login_required
def catalog(request, project, language_code, domain):
catalog = get_object_or_404(
Catalog.objects.for_user(request.user),
Catalog.objects.for_user(request.user).select_related("project"),
project__slug=project,
language_code=language_code,
domain=domain,
Expand Down

0 comments on commit 8411532

Please sign in to comment.