X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/bf78e0c846297a4f732ffdfc181b3c89428fd2a4..263a935770dc2fc19575aa68632ab3c9a156be41:/models/pages.py?ds=sidebyside 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: