Created
April 30, 2009 05:46
-
-
Save tmc/104281 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/django/contrib/admin/helpers.py b/django/contrib/admin/helpers.py | |
index 9312eab..719a57d 100644 | |
--- a/django/contrib/admin/helpers.py | |
+++ b/django/contrib/admin/helpers.py | |
@@ -111,6 +111,7 @@ class InlineAdminFormSet(object): | |
def __iter__(self): | |
for form, original in zip(self.formset.initial_forms, self.formset.get_queryset()): | |
+ print original | |
yield InlineAdminForm(self.formset, form, self.fieldsets, self.opts.prepopulated_fields, original) | |
for form in self.formset.extra_forms: | |
yield InlineAdminForm(self.formset, form, self.fieldsets, self.opts.prepopulated_fields, None) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment