#9475: add(), create(), etc. should be supported by intermedite ManyToMany model
with extra attributes if extra fields can be calculated
---------------------------------------------------+------------------------
          Reporter:  o...@gezgin.com               |         Owner:  nobody
            Status:  new                           |     Milestone:        
         Component:  Database layer (models, ORM)  |       Version:  SVN   
        Resolution:                                |      Keywords:        
             Stage:  Accepted                      |     Has_patch:  1     
        Needs_docs:  0                             |   Needs_tests:  0     
Needs_better_patch:  1                             |  
---------------------------------------------------+------------------------
Comment (by anonymous):

 Replying to [comment:9 Travis Cline <travis.cl...@gmail.com>]:
 > Replying to [comment:8 emulbreh]:
 > > Replying to [comment:7 Travis Cline <travis.cl...@gmail.com>]:
 > > > Attached is an alternate approach. Will also attach a similar
 approach but with an attempt to fall back to a reasonable default.
 > >
 > > I don't believe the flag should be on `Meta`. The intermediary model
 doesn't know which FK fields are used for the m2m relation (at least in
 theory there may be more than one m2m relation through the same model).
 And you would introduce a model option that has no meaning for most
 models.
 >
 > Yeah, you're right. Not nearly the right place for that to live. I hope
 to follow up with a patch that isn't so whack soon.

 What's wrong with `9475.m2m_add_remove.r11739.diff` ?

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9475#comment:10>
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 django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.


Reply via email to