Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #4330 -- Fixed typo when retrieving field names. Patch from Mar…

…c Fargas.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5293 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d8db013eea14e69222810deea9a7e290b99966b4 1 parent 7e975bb
Malcolm Tredinnick authored May 19, 2007

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/contrib/formtools/preview.py
2  django/contrib/formtools/preview.py
@@ -83,7 +83,7 @@ def unused_name(self, name):
83 83
         """
84 84
         while 1:
85 85
             try:
86  
-                f = self.form.fields[name]
  86
+                f = self.form.base_fields[name]
87 87
             except KeyError:
88 88
                 break # This field name isn't being used by the form.
89 89
             name += '_'

0 notes on commit d8db013

Please sign in to comment.
Something went wrong with that request. Please try again.