mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Merge pull request #518 from vanschelven/patch-1
Fixed interpolation in a translated string. Refs #14678.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user