Loading django/contrib/flatpages/forms.py +2 −2 Original line number Diff line number Diff line Loading @@ -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
django/contrib/flatpages/forms.py +2 −2 Original line number Diff line number Diff line Loading @@ -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()