X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5709ad98f0e529a37e858931e1ec2f37c3875dcf..0cd571520ee3f3a1dfaed2f5340961e39a941ad1:/apps/cover/forms.py?ds=sidebyside diff --git a/apps/cover/forms.py b/apps/cover/forms.py index 7306b33a..513bdefb 100755 --- a/apps/cover/forms.py +++ b/apps/cover/forms.py @@ -44,6 +44,7 @@ class ImageAddForm(forms.ModelForm): raise forms.ValidationError(mark_safe( ugettext('Image already in repository' % same_source.first().get_absolute_url()))) + return source_url def clean(self): cleaned_data = super(ImageAddForm, self).clean()