Re: Reverse manager assignments doing an implicit save

2015-10-08 Thread Tim Graham
The deprecation seems reasonable to me as it would clear up confusion about why most model attribute assignments require a model save but not this one. Implemented here: https://github.com/django/django/pull/5413 On Friday, April 20, 2012 at 10:00:01 AM UTC-4, Anssi Kääriäinen wrote: > > I was

Reverse manager assignments doing an implicit save

2012-04-20 Thread Anssi Kääriäinen
I was going through ORM tickets marked ready for checkin and stumbled upon ticket #14368. The ticket is about caching of o2o fields. The interesting part is not the caching, but this functionality: class A: pass class B: a = O2O(A, null=True, related_name='b') a1 = A.save() b1 = B.save()