fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix localsettings import
[redakcja.git]
/
apps
/
cover
/
forms.py
diff --git
a/apps/cover/forms.py
b/apps/cover/forms.py
index
754d697
..
fab0bb6
100755
(executable)
--- a/
apps/cover/forms.py
+++ b/
apps/cover/forms.py
@@
-6,6
+6,7
@@
import re
from urllib2 import urlopen
from django import forms
import re
from urllib2 import urlopen
from django import forms
+from django.utils.translation import ugettext_lazy as _
from cover.models import Image
class ImageAddForm(forms.ModelForm):
from cover.models import Image
class ImageAddForm(forms.ModelForm):
@@
-33,7
+34,7
@@
class ReadonlyImageEditForm(ImageEditForm):
class FlickrForm(forms.Form):
class FlickrForm(forms.Form):
- source_url = forms.URLField()
+ source_url = forms.URLField(
label=_('Flickr URL')
)
def clean_source_url(self):
url = self.cleaned_data['source_url']
def clean_source_url(self):
url = self.cleaned_data['source_url']