diff --git a/AUTHORS b/AUTHORS index a0032f5198..3ce1875d33 100644 --- a/AUTHORS +++ b/AUTHORS @@ -62,6 +62,7 @@ answer newbie questions, and generally made Django that much better: Ben Paul Bissex Simon Blanchard + David Blewett Matt Boersma boobsd@gmail.com Andrew Brehaut diff --git a/django/newforms/formsets.py b/django/newforms/formsets.py index 7637a093d9..38982b47de 100644 --- a/django/newforms/formsets.py +++ b/django/newforms/formsets.py @@ -21,7 +21,7 @@ class BaseFormSet(object): """A collection of instances of the same Form class.""" def __init__(self, data=None, files=None, auto_id='id_%s', prefix=None, initial=None): - self.is_bound = data is not None and files is not None + self.is_bound = data is not None or files is not None self.prefix = prefix or 'form' self.auto_id = auto_id self.data = data