#8248: Built-in python function, help(), does not work on models with ForeignKey
fields
-------------------------------------+--------------------------------------
          Reporter:  lingrlongr      |         Owner:                           
  
            Status:  new             |     Milestone:  1.0                      
  
         Component:  Core framework  |       Version:  SVN                      
  
        Resolution:                  |      Keywords:  help ForeignKey foreign 
key
             Stage:  Accepted        |     Has_patch:  0                        
  
        Needs_docs:  0               |   Needs_tests:  0                        
  
Needs_better_patch:  0               |  
-------------------------------------+--------------------------------------
Comment (by jacob):

 I'm actually fine with the change: I've thought for a while that
 `Model.field` ought to return a `Field` instead of raising an
 `AttributeError`. Making this work for regular fields -- those without
 associated descriptors -- is actually a bit annoying, but I don't see that
 we need to make the change all at once.

 So the only question in my mind is weather we sneak this in for 1.0, or
 push it off. I'd be inclined to leave the current behavior -- broken as it
 is -- for later so we can make a consistent change for all fields.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8248#comment:8>
Django Code <http://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