Re: [Django] #26652: Model instance no longer has a _default_manager attribute

2016-05-27 Thread Django
#26652: Model instance no longer has a _default_manager attribute
--+
 Reporter:  rsalmaso  |Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  closed
Component:  Documentation |  Version:  1.10
 Severity:  Normal|   Resolution:  fixed
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  1 |UI/UX:  0
--+

Comment (by Tim Graham ):

 In [changeset:"9985544adbdbb4ebae3a19010a0600454117a3a1" 9985544]:
 {{{
 #!CommitTicketReference repository=""
 revision="9985544adbdbb4ebae3a19010a0600454117a3a1"
 [1.10.x] Fixed #26652 -- Documented removal of model instance
 _(default/base)_manager attributes.

 Backport of 0e7e47b5d7123441efc03545da59a6cd581c04b1 from master
 }}}

--
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/066.6202d544a14bd43192f0ca6634ce70b4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #26652: Model instance no longer has a _default_manager attribute

2016-05-27 Thread Django
#26652: Model instance no longer has a _default_manager attribute
--+
 Reporter:  rsalmaso  |Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  closed
Component:  Documentation |  Version:  1.10
 Severity:  Normal|   Resolution:  fixed
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  1 |UI/UX:  0
--+
Changes (by Tim Graham ):

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


Comment:

 In [changeset:"0e7e47b5d7123441efc03545da59a6cd581c04b1" 0e7e47b5]:
 {{{
 #!CommitTicketReference repository=""
 revision="0e7e47b5d7123441efc03545da59a6cd581c04b1"
 Fixed #26652 -- Documented removal of model instance
 _(default/base)_manager attributes.
 }}}

--
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/066.c84409108d8498b7e4cb721c18c68b0a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #26652: Model instance no longer has a _default_manager attribute

2016-05-26 Thread Django
#26652: Model instance no longer has a _default_manager attribute
--+
 Reporter:  rsalmaso  |Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Documentation |  Version:  1.10
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  1 |UI/UX:  0
--+

Comment (by rsalmaso):

 Ok, thanks.
 I'll open a ticket on django-paypal.

--
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/066.044f996b03a4345ee4c0e3c8613739e6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #26652: Model instance no longer has a _default_manager attribute

2016-05-26 Thread Django
#26652: Model instance no longer has a _default_manager attribute
--+
 Reporter:  rsalmaso  |Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Documentation |  Version:  1.10
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  1 |UI/UX:  0
--+
Changes (by timgraham):

 * needs_docs:  1 => 0
 * has_patch:  0 => 1


Comment:

 [https://github.com/django/django/pull/6653 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/066.7ac9f81a98f45662145d0e772517c67e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #26652: Model instance no longer has a _default_manager attribute

2016-05-26 Thread Django
#26652: Model instance no longer has a _default_manager attribute
--+
 Reporter:  rsalmaso  |Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Documentation |  Version:  1.10
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  1
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  1 |UI/UX:  0
--+
Changes (by loic):

 * component:  Database layer (models, ORM) => Documentation
 * needs_docs:  0 => 1
 * type:  Uncategorized => Cleanup/optimization
 * easy:  0 => 1
 * stage:  Unreviewed => Accepted


Comment:

 Managers were never intended to be accessible on model instances, we even
 
[https://github.com/django/django/blob/30d110ef43d8a3c50ea8ec4e4fe49bd2bb859530/django/db/models/manager.py#L186
 use a descriptor to prevent that usage] but  `_default_manager` somehow
 escaped that restriction. I guess we can mention the change in the release
 notes.

 For completeness I'll mention that if we really wanted these available on
 the instance we could just move the properties from `ModelBase` to
 `models.Model`, but I don't think we should.

--
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/066.b5af9fab729b35142ccc8d5e11dfc0dc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #26652: Model instance no longer has a _default_manager attribute (was: missing _default_manager in model instance)

2016-05-26 Thread Django
#26652: Model instance no longer has a _default_manager attribute
-+-
 Reporter:  rsalmaso |Owner:  nobody
 Type:  Uncategorized|   Status:  new
Component:  Database layer   |  Version:  1.10
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:
 |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by timgraham):

 * cc: loic (added)


Comment:

 Bisected to ed0ff913c648b16c4471fc9a9441d1ee48cb5420.

--
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/066.1d38ccf6871f3dead912b078a2ee0739%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.