Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed a broken translation string in the flatpages' forms module.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 0e9b1041d7545b5edcf94dac83011c6d9ee71747 1 parent cbe8241
Jannis Leidel jezdez authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/contrib/flatpages/
4 django/contrib/flatpages/
@@ -24,7 +24,7 @@ def clean(self):
for site in sites:
if same_url.filter(sites=site).exists():
raise forms.ValidationError(
- _('Flatpage with url %s already exists for site %s'
- % (url, site)))
+ _('Flatpage with url %(url)s already exists for site %(site)s' %
+ {'url': url, 'site': site}))
return super(FlatpageForm, self).clean()
Please sign in to comment.
Something went wrong with that request. Please try again.