#13713: Changing ModelMultipleChoiceField in admin is not reflected in override
save() of the same model
-------------------------------------+--------------------------------------
          Reporter:  jonathan_livni  |         Owner:  nobody
            Status:  closed          |     Milestone:        
         Component:  Uncategorized   |       Version:  1.2   
        Resolution:  invalid         |      Keywords:        
             Stage:  Unreviewed      |     Has_patch:  0     
        Needs_docs:  0               |   Needs_tests:  0     
Needs_better_patch:  0               |  
-------------------------------------+--------------------------------------
Changes (by russellm):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 It's not a queried cache result - it's correctly returning the values from
 the database at the point at which you are querying.

 M2M relations aren't saved as part of the save() call - they're a separate
 table, and they're saved separately, after the base model has been saved.

 I don't know what has given you the impression that the m2m is updated as
 part of the model save. It is modified as part of the *form* save, but
 that's a larger process than saving an individual model instance.

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