X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/fbad74041c87c94038eafc7f38bb2e5a0c708cc6..f325ff6e5a40a972e6732c09b87e077adf2c2e35:/models/pages.py diff --git a/models/pages.py b/models/pages.py index 86db88f..2221ee4 100644 --- a/models/pages.py +++ b/models/pages.py @@ -171,6 +171,9 @@ class Page(View): return self.title def clean_fields(self, exclude=None): + if exclude is None: + exclude = [] + try: super(Page, self).clean_fields(exclude) except ValidationError, e: