#16176: Overwriting a property with field during model inheritance.
-------------------------------------+-------------------------------------
     Reporter:  czepiel.artur@…      |                    Owner:
         Type:  Bug                  |  Thomas_Moronez
    Component:  Database layer       |                   Status:  assigned
  (models, ORM)                      |                  Version:  master
     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 Thomas_Moronez):

 * has_patch:  0 => 1
 * needs_tests:  1 => 0


Comment:

 Added a try ... except statement that throws a more descriptive error
 message. That way the user can know the error lies within the use of the
 @property descriptor and can simply modify the name of the field.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16176#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 [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to