Re: [Django] #6707: ManyToManyField clears and recreates all data

2015-12-12 Thread Django
#6707: ManyToManyField clears and recreates all data
-+-
 Reporter:  favo |Owner:  loic
 Type:  Bug  |   Status:  closed
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by toracle):

 * cc: toracle@… (added)


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/080.8a43760b633b89c98bec5424dda6ca32%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #6707: ManyToManyField clears and recreates all data

2015-06-05 Thread Django
#6707: ManyToManyField clears and recreates all data
-+-
 Reporter:  favo |Owner:  loic
 Type:  Bug  |   Status:  closed
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by collinanderson):

 @psychok7 this is actually considered more of a new feature /
 optimization, so it's not backported to 1.7. It actually missed the
 deadline for getting into 1.8 by a few weeks, but it will be in 1.9 which
 comes out towards the end of the year.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/080.4e81f928bc6455953fa83d5c660ba41d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #6707: ManyToManyField clears and recreates all data

2015-06-05 Thread Django
#6707: ManyToManyField clears and recreates all data
-+-
 Reporter:  favo |Owner:  loic
 Type:  Bug  |   Status:  closed
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by psychok7):

 @Loic is this commit going to be released for Django 1.7 still ??? I am
 using Django 1.7.8 and i noticed that its not there yet

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/080.608c815bc3264cfdd215a486f1534a24%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #6707: ManyToManyField clears and recreates all data

2015-02-05 Thread Django
#6707: ManyToManyField clears and recreates all data
-+-
 Reporter:  favo |Owner:  loic
 Type:  Bug  |   Status:  closed
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Loic Bistuer ):

 In [changeset:"20eb51ce0ddcb8d5fdc772fc2839fefef5b28c2a"]:
 {{{
 #!CommitTicketReference repository=""
 revision="20eb51ce0ddcb8d5fdc772fc2839fefef5b28c2a"
 Fix small regression caused by 71ada3a8e689a883b5ffdeb1744ea16f176ab730.

 During direct assignment, evaluating the iterable before the transaction
 is started avoids leaving the transaction dirty if an exception is raised.
 This is slightly more wasteful but probably not enough to warrant a change
 of behavior.

 Thanks Anssi for the feedback. Refs #6707.
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/080.7e58ccfd498b98f670f714b214de525e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #6707: ManyToManyField clears and recreates all data

2015-02-04 Thread Django
#6707: ManyToManyField clears and recreates all data
-+-
 Reporter:  favo |Owner:  loic
 Type:  Bug  |   Status:  closed
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Loic Bistuer ):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"71ada3a8e689a883b5ffdeb1744ea16f176ab730"]:
 {{{
 #!CommitTicketReference repository=""
 revision="71ada3a8e689a883b5ffdeb1744ea16f176ab730"
 Fixed #6707 -- Added RelatedManager.set() and made descriptors' __set__
 use it.

 Thanks Anssi Kääriäinen, Carl Meyer, Collin Anderson, and Tim Graham for
 the reviews.
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/080.a408915903328f599cadf591162e247a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #6707: ManyToManyField clears and recreates all data

2015-02-04 Thread Django
#6707: ManyToManyField clears and recreates all data
-+-
 Reporter:  favo |Owner:  loic
 Type:  Bug  |   Status:  closed
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Loic Bistuer ):

 In [changeset:"9d104a21e20f9c5ec41d19fd919d0e808aa13dba"]:
 {{{
 #!CommitTicketReference repository=""
 revision="9d104a21e20f9c5ec41d19fd919d0e808aa13dba"
 Documented that m2m_changed isn't triggered when M2M is displayed as admin
 inline.

 Refs #6707.
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/080.96b005f2dee56f4e118aba2a4784844e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #6707: ManyToManyField clears and recreates all data

2015-01-29 Thread Django
#6707: ManyToManyField clears and recreates all data
-+-
 Reporter:  favo |Owner:  loic
 Type:  Bug  |   Status:  assigned
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by loic):

 * needs_better_patch:  1 => 0


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/080.254d40efa0df73947ef45a1a5daf813d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #6707: ManyToManyField clears and recreates all data

2015-01-29 Thread Django
#6707: ManyToManyField clears and recreates all data
-+-
 Reporter:  favo |Owner:  loic
 Type:  Bug  |   Status:  assigned
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-

Comment (by loic):

 I've rebased the PR and I'm quite happy with the result.

 I checked regarding comment:34 and indeed when M2M are displayed as admin
 inlines `m2m_changed` isn't triggered. It's because the M2M field is
 bypassed and the `through` table is seen by the admin as a normal model
 with 2 FKs. That's an orthogonal problem but I added docs about it in the
 PR.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/080.ad8fa1d92d4a6f5e639cc40c14ad1888%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #6707: ManyToManyField clears and recreates all data (was: Another implementation for ReverseManyRelatedObjectsDescriptor.__set__ method)

2015-01-26 Thread Django
#6707: ManyToManyField clears and recreates all data
-+-
 Reporter:  favo |Owner:  loic
 Type:  Bug  |   Status:  assigned
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/080.284bd41dd577a237e70c9a06a1e7ebd3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.