We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0402d66 commit 99e8f24Copy full SHA for 99e8f24
filer/admin/imageadmin.py
@@ -46,8 +46,7 @@ def clean_subject_location(self):
46
for subject location widget to receive valid coordinates on field
47
validation errors.
48
"""
49
- cleaned_data = super().clean()
50
- subject_location = cleaned_data['subject_location']
+ subject_location = self.cleaned_data['subject_location']
51
if not subject_location:
52
# if supplied subject location is empty, do not check it
53
return subject_location
@@ -69,7 +68,7 @@ def clean_subject_location(self):
69
68
else:
70
71
72
- self._set_previous_subject_location(cleaned_data)
+ self._set_previous_subject_location(self.cleaned_data)
73
raise forms.ValidationError(
74
string_concat(
75
err_msg,
0 commit comments