Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #518 from vanschelven/patch-1

Fixed interpolation in a translated string.

Refs #14678.
  • Loading branch information...
commit e18968e0f221d2b7988d21aaec9684662cc14e4a 2 parents ae206d7 + 5e3b99d
@aaugustin aaugustin authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/contrib/flatpages/forms.py
View
4 django/contrib/flatpages/forms.py
@@ -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.