#30362: Note partial indexes and constraints restrictions with abstract base classes. -------------------------------------+------------------------------------- Reporter: Tim Dawborn | Owner: felixxm Type: Bug | Status: closed Component: Database layer | Version: 2.2 (models, ORM) | Severity: Release blocker | Resolution: fixed Keywords: inheritance index | Triage Stage: Accepted name | Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Alan Justino da Silva): Replying to [comment:8 Tim Dawborn]: > Replying to [comment:7 Ian Foote]: > > I like Simon's idea of allowing {{{%(app_label)s}}} and {{{%(class)s}}} in index and constraint names. > > Same, assuming these get evaluated at the the lowest concrete class of an inheritance hierarchy. Just hit the issue. Can a user expect it to be available on the future versions? I got the point about not adding a new feature to 2.X branch. For the new versions, however, not having this new feature means code duplication on users side. -- Ticket URL: <https://code.djangoproject.com/ticket/30362#comment:17> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/068.30a9c921681017190441b2afb22dfa14%40djangoproject.com.