#16134: django.db.models.fields.Field instance can not be compared with None
-------------------------------------+-------------------------------------
               Reporter:  amcharg@…  |          Owner:  nobody
                   Type:  Bug        |         Status:  new
              Milestone:             |      Component:  Database layer
                Version:  1.3        |  (models, ORM)
             Resolution:             |       Severity:  Normal
           Triage Stage:  Accepted   |       Keywords:
    Needs documentation:  0          |      Has patch:  1
Patch needs improvement:  0          |    Needs tests:  0
                  UI/UX:  0          |  Easy pickings:  1
-------------------------------------+-------------------------------------
Changes (by mtredinnick):

 * ui_ux:   => 0
 * stage:  Ready for checkin => Accepted


Comment:

 Hmm... I'm a little unclear on the use-case for this. Instantiating fields
 is internal to Django -- normal models expose Python attributes and the
 Field instances are hidden in the Meta class (which is opaque). Making
 this change "just because we can" isn't necessary. What's the normal code
 pattern that triggers a problem here?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16134#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
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.

Reply via email to