Changes between Initial Version and Version 4 of Ticket #11905


Ignore:
Timestamp:
Feb 3, 2010, 9:20:38 PM (15 years ago)
Author:
Russell Keith-Magee
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11905

    • Property Milestone1.2
    • Property Triage Stage UnreviewedAccepted
  • Ticket #11905 – Description

    initial v4  
    22
    33Here's a doctest that demonstrates:
    4 
     4{{{
    55>>> from django.forms.models import modelform_factory, form_for_fields
    66>>> from django.contrib.auth.models import User
     
    2626    if self.field.label is None:
    2727AttributeError: 'NoneType' object has no attribute 'label'
    28 
     28}}}
    2929
    3030This appears to be due to logic in form_for_fields (line 102 in my checkout) in the first case, and fields_for_model (line 170) in the second.
Back to Top