From c1b5a2c78d661cb471f139262d60fdd9e1608653 Mon Sep 17 00:00:00 2001 From: Patrick Mayr Date: Tue, 19 Apr 2022 15:20:06 +0000 Subject: [PATCH] black file --- fet2020/intern/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fet2020/intern/views.py b/fet2020/intern/views.py index f78cda28..20dc8116 100644 --- a/fet2020/intern/views.py +++ b/fet2020/intern/views.py @@ -254,7 +254,7 @@ class AttachmentUpdateView(LoginRequiredMixin, UpdateView): def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) context["topic"] = Topic.objects.get(slug=self.topic_slug) - + attachment = Attachment.objects.get( Q(slug=self.slug) & Q(topic__slug=self.topic_slug) )