mirror of https://github.com/django/django.git
Merge pull request #518 from vanschelven/patch-1
Fixed interpolation in a translated string. Refs #14678.
This commit is contained in:
commit
e18968e0f2
|
@ -35,7 +35,7 @@ class FlatpageForm(forms.ModelForm):
|
|||
for site in sites:
|
||||
if same_url.filter(sites=site).exists():
|
||||
raise forms.ValidationError(
|
||||
_('Flatpage with url %(url)s already exists for site %(site)s' %
|
||||
{'url': url, 'site': site}))
|
||||
_('Flatpage with url %(url)s already exists for site %(site)s') %
|
||||
{'url': url, 'site': site})
|
||||
|
||||
return super(FlatpageForm, self).clean()
|
||||
|
|
Loading…
Reference in New Issue