summaryrefslogtreecommitdiff
path: root/archaeological_finds/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/forms.py')
-rw-r--r--archaeological_finds/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_finds/forms.py b/archaeological_finds/forms.py
index 843d082fe..7cbbca81c 100644
--- a/archaeological_finds/forms.py
+++ b/archaeological_finds/forms.py
@@ -752,7 +752,7 @@ class QAFindBasketForm(IshtarForm):
def save(self, items):
if self.cleaned_data['qa_bf_create_or_update'] == 'update':
q = Q(user=self.user) | Q(shared_write_with__pk=self.user.pk)
- basket = models.FindBasket.objects.filter(q).get(
+ basket = models.FindBasket.objects.filter(q).distinct().get(
pk=self.cleaned_data['qa_bf_basket'])
else:
label = self.cleaned_data['qa_bf_label'].strip()