Added support for limit_choices_to use in the ModelLookupWidget and switched its...
[philo.git] / models / pages.py
index 86db88f..2221ee4 100644 (file)
@@ -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: