Skip to content

Commit

Permalink
fix /myprints when not logged in
Browse files Browse the repository at this point in the history
  • Loading branch information
luto committed Dec 18, 2024
1 parent f53e003 commit 15e9638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crowdprinter/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class PrintJobStlCreateView(SuperUserRequiredMixin, SuccessMessageMixin, CreateV
success_message = "Job %(slug)s was created successfully"


class MyPrintAttempts(ListView):
class MyPrintAttempts(LoginRequiredMixin, ListView):
model = models.PrintAttempt
template_name = "crowdprinter/myprintattempts.html"
ordering = ["ended"]
Expand Down

0 comments on commit 15e9638

Please sign in to comment.