Author: jkocherhans
Date: 2007-09-06 21:39:18 -0500 (Thu, 06 Sep 2007)
New Revision: 6053
Modified:
django/branches/newforms-admin/django/newforms/formsets.py
Log:
Fixed typo in formsets. Thanks Simon Litchfield.
Modified: django/branches/newforms-admin/django/newforms/formsets.py
===================================================================
--- django/branches/newforms-admin/django/newforms/formsets.py 2007-09-07
02:32:03 UTC (rev 6052)
+++ django/branches/newforms-admin/django/newforms/formsets.py 2007-09-07
02:39:18 UTC (rev 6053)
@@ -71,7 +71,7 @@
def _get_change_forms(self):
"""Return a list of all the change forms in this ``FormSet``."""
FormClass = self.form_class
- if not hasattr(self, '_add_forms'):
+ if not hasattr(self, '_change_forms'):
change_forms = []
for i in range(0, self.change_form_count):
kwargs = {'auto_id': self.auto_id, 'prefix':
self.add_prefix(i)}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---