Ticket #4330: 4330.diff

File 4330.diff, 513 bytes (added by Daniel Blasco <daniel@…>, 17 years ago)

Patch to use base_fields instead of fields.

  • django/contrib/formtools/preview.py

     
    8383        """
    8484        while 1:
    8585            try:
    86                 f = self.form.fields[name]
     86                f = self.form.base_fields[name]
    8787            except KeyError:
    8888                break # This field name isn't being used by the form.
    8989            name += '_'
Back to Top