fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
yet another fix for beta
[redakcja.git]
/
apps
/
cover
/
forms.py
diff --git
a/apps/cover/forms.py
b/apps/cover/forms.py
index
7306b33
..
513bdef
100755
(executable)
--- 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 <a href="%s">already in repository</a>'
% same_source.first().get_absolute_url())))
+ return source_url
def clean(self):
cleaned_data = super(ImageAddForm, self).clean()