sandbox
class ValidationError(object): pass class Foo(object): def clean(self): print "hey" if self.cleaned_data["x"] < self.cleaned_data["y"]: raise ValidationError class Bar(object): def clean(self): print "hoo" if self.cleaned_data["x"] < self.…
class ValidationError(object): pass class Foo(object): def clean(self): print "hey" if self.cleaned_data["x"] < self.cleaned_data["y"]: raise ValidationError class Bar(object): def clean(self): print "hoo" if self.cleaned_data["x"] < self.…