Skip to content
Browse files

Merge pull request #518 from vanschelven/patch-1

Fixed interpolation in a translated string.

Refs #14678.
  • Loading branch information...
2 parents ae206d7 + 5e3b99d commit e18968e0f221d2b7988d21aaec9684662cc14e4a @aaugustin aaugustin committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/contrib/flatpages/
4 django/contrib/flatpages/
@@ -35,7 +35,7 @@ def clean(self):
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()

0 comments on commit e18968e

Please sign in to comment.
Something went wrong with that request. Please try again.