Skip to content

Commit 6b1ca10

Browse files
committed
Fix typo
1 parent 4f96e21 commit 6b1ca10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_select2/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ def value_from_datadict(self, data, files, name):
555555
'''Create objects for given non-pimary-key values. Return list of all primary keys.'''
556556
values = set(super().value_from_datadict(data, files, name))
557557
# This may only work for MyModel, if MyModel has title field.
558-
# You need to implement this method yourlself, to ensure proper object creation.
558+
# You need to implement this method yourself, to ensure proper object creation.
559559
pks = self.queryset.filter(**{'pk__in': list(values)}).values_list('pk', flat=True)
560560
pks = set(map(str, pks))
561561
cleaned_values = list(values)

0 commit comments

Comments
 (0)