#10427: Bound field needs an easy way to get form value
-------------------------------+--------------------------------------------
          Reporter:  toxik     |         Owner:  nobody          
            Status:  reopened  |     Milestone:                  
         Component:  Forms     |       Version:  SVN             
        Resolution:            |      Keywords:  form field value
             Stage:  Accepted  |     Has_patch:  1               
        Needs_docs:  0         |   Needs_tests:  0               
Needs_better_patch:  0         |  
-------------------------------+--------------------------------------------
Changes (by toxik):

  * needs_better_patch:  1 => 0
  * needs_docs:  1 => 0

Comment:

 I'm very sorry about attaching this massive amount of patches, but I
 figured using "replace existing" when there are already renamed patches
 would get confusing.

 Replying to [comment:6 mtredinnick]:
 > Calling a function using parentheses doesn't look at all weird. Normal
 code doesn't need to access the data attribute (yes, it should also have
 been a method) on a `BoundField`, so that's not particular relevant in the
 public API.

 Yeah, sure, but then it should really be a verb/verb+noun, and not a noun.
 Like "get_value". I don't see the big win in adding asymmetry and yet not
 gaining anything; it could just as well be an actual instance attribute
 (and probably should be?)

 Bikeshed away, however.

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