X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/0e2ac53b71dfec624589fe858687f63089ae175f..66d42c282c25daff0aa34ae374a05439ce2868c6:/models/pages.py?ds=inline 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: