[Django] #29192: Docs on abstract base models say you can't override abstract fields

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Django] #29192: Docs on abstract base models say you can't override abstract fields

Django
#29192: Docs on abstract base models say you can't override abstract fields
------------------------------------------+------------------------
               Reporter:  Marten Kenbeek  |          Owner:  nobody
                   Type:  Bug             |         Status:  new
              Component:  Documentation   |        Version:  2.0
               Severity:  Normal          |       Keywords:
           Triage Stage:  Unreviewed      |      Has patch:  0
    Needs documentation:  0               |    Needs tests:  0
Patch needs improvement:  0               |  Easy pickings:  0
                  UI/UX:  0               |
------------------------------------------+------------------------
 In the docs on [https://docs.djangoproject.com/en/2.0/topics/db/models
 /#abstract-base-classes abstract base models] it says:

 > It is an error to have fields in the abstract base class with the same
 name as those in the child (and Django will raise an exception).

 This is incorrect since #24305 was fixed.

--
Ticket URL: <https://code.djangoproject.com/ticket/29192>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/047.bd0608817e029429929c9b36522cd2d1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #29192: Docs on abstract base models say you can't override abstract fields

Django
#29192: Docs on abstract base models say you can't override abstract fields
--------------------------------+--------------------------------------
     Reporter:  Marten Kenbeek  |                    Owner:  klee05
         Type:  Bug             |                   Status:  assigned
    Component:  Documentation   |                  Version:  2.0
     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 klee05):

 * owner:  nobody => klee05
 * status:  new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/29192#comment:1>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/062.d818a5eebe3188ea810b50db480d9b7f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #29192: Docs on abstract base models say you can't override abstract fields

Django
In reply to this post by Django
#29192: Docs on abstract base models say you can't override abstract fields
-------------------------------------+-------------------------------------
     Reporter:  Marten Kenbeek       |                    Owner:  klee05
         Type:  Bug                  |                   Status:  assigned
    Component:  Documentation        |                  Version:  2.0
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

 * has_patch:  0 => 1
 * stage:  Unreviewed => Ready for checkin


Comment:

 [https://github.com/django/django/pull/9755 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/29192#comment:2>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/062.c1c2f2690c5e08c8d4157265c99c01ed%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #29192: Docs on abstract base models say you can't override abstract fields

Django
In reply to this post by Django
#29192: Docs on abstract base models say you can't override abstract fields
-------------------------------------+-------------------------------------
     Reporter:  Marten Kenbeek       |                    Owner:  klee05
         Type:  Bug                  |                   Status:  closed
    Component:  Documentation        |                  Version:  2.0
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

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


Comment:

 In [changeset:"22bcd3a1d88add6e4cf2c4451ede8d1ae142dedd" 22bcd3a1]:
 {{{
 #!CommitTicketReference repository=""
 revision="22bcd3a1d88add6e4cf2c4451ede8d1ae142dedd"
 Fixed #29192 -- Corrected docs regarding overriding fields from abstract
 base classes.
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/29192#comment:3>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/062.922f64de8267d308aceaa1fdd1cf730c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #29192: Docs on abstract base models say you can't override abstract fields

Django
In reply to this post by Django
#29192: Docs on abstract base models say you can't override abstract fields
-------------------------------------+-------------------------------------
     Reporter:  Marten Kenbeek       |                    Owner:  klee05
         Type:  Bug                  |                   Status:  closed
    Component:  Documentation        |                  Version:  2.0
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

 In [changeset:"24066cc43005eb6c209fe543e1e8d00f730eb50b" 24066cc4]:
 {{{
 #!CommitTicketReference repository=""
 revision="24066cc43005eb6c209fe543e1e8d00f730eb50b"
 [2.0.x] Fixed #29192 -- Corrected docs regarding overriding fields from
 abstract base classes.

 Backport of 22bcd3a1d88add6e4cf2c4451ede8d1ae142dedd from master
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/29192#comment:4>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/062.507e5fe15bb5008b5e4511f32faa7c05%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #29192: Docs on abstract base models say you can't override abstract fields

Django
In reply to this post by Django
#29192: Docs on abstract base models say you can't override abstract fields
-------------------------------------+-------------------------------------
     Reporter:  Marten Kenbeek       |                    Owner:  klee05
         Type:  Bug                  |                   Status:  closed
    Component:  Documentation        |                  Version:  2.0
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

 In [changeset:"fbae9c0e023aea2666feb1603ece172548342ec1" fbae9c0e]:
 {{{
 #!CommitTicketReference repository=""
 revision="fbae9c0e023aea2666feb1603ece172548342ec1"
 [1.11.x] Fixed #29192 -- Removed inaccurate statement regarding overriding
 fields from abstract base classes.

 Partial backport of 22bcd3a1d88add6e4cf2c4451ede8d1ae142dedd from master
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/29192#comment:5>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/062.6a13d7cb79e750634c9898cca4809801%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.