#16732: Unable to have abstract model with unique_together
-------------------------------------+-------------------------------------
Reporter: Mitar | Owner: Can
| Sarıgöl
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
-------------------------------------+-------------------------------------
Changes (by felixxm):
* needs_better_patch: 0 => 1
Comment:
Topic for `abstract = False` is not a part of "Abstract base classes"
documentation (see [https://docs.djangoproject.com/en/2.2/topics/db/models
/#meta-and-multi-table-inheritance meta-and-multi-table-inheritance]).
Falling tests show that it is not a proper solution. `('suffix1',
'suffix2')` should be inherited from an abstract class `BookXtra`. I'm
afraid that proposed change is strongly backward incompatible.
--
Ticket URL: <https://code.djangoproject.com/ticket/16732#comment:8>
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.4e5a7a57c8fff3e88f789081bab2fdcf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.