mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Fixed #30397 -- Added app_label/class interpolation for names of indexes and constraints.
This commit is contained in:
parent
8233144ca0
commit
febe136d4c
9 changed files with 166 additions and 11 deletions
|
@ -263,6 +263,11 @@ Models
|
|||
* Allowed symmetrical intermediate table for self-referential
|
||||
:class:`~django.db.models.ManyToManyField`.
|
||||
|
||||
* The ``name`` attributes of :class:`~django.db.models.CheckConstraint`,
|
||||
:class:`~django.db.models.UniqueConstraint`, and
|
||||
:class:`~django.db.models.Index` now support app label and class
|
||||
interpolation using the ``'%(app_label)s'`` and ``'%(class)s'`` placeholders.
|
||||
|
||||
Requests and Responses
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue