X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/a917b5dd29218812c04a6eb8e89d21f17324553d..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: