The solution I found consisted in *overriding dashboard*.*pages* and then 
in a ** recreate the *URLDoesNotExistValidator *in order to be 
specific to the flatpages.

So I've overriden PageUpdateForm() and PageCreateView() in order to import 
my version of this specific validator.

class URLDoesNotExistValidator(validators.URLValidator):

    def __call__(self, value):
        except FlatPage.DoesNotExist:
            raise ValidationError(
                _('Specified page already exists!'), code='invalid')

You received this message because you are subscribed to the Google Groups 
"django-oscar" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
Visit this group at
To view this discussion on the web, visit
For more options, visit

Reply via email to