mirror of
https://github.com/django/django.git
synced 2025-08-02 18:13:02 +00:00
Fixed #23455 -- Accept either bytes or text for related_name, convert to text.
This commit is contained in:
parent
d4bdddeefe
commit
c72eb80d11
4 changed files with 10 additions and 6 deletions
|
@ -125,6 +125,6 @@ Bugfixes
|
|||
* Fixed a crash in the admin when using "Save as new" and also deleting a
|
||||
related inline (:ticket:`23857`).
|
||||
|
||||
* Removed auto-conversion of ``related_name`` to unicode in field
|
||||
deconstruction, to maintain consistency of bytes/text in migrations matching
|
||||
the original values (:ticket:`23455` and :ticket:`23982`).
|
||||
* Always converted ``related_name`` to text (unicode), since that is required
|
||||
on Python 3 for interpolation. Removed conversion of ``related_name`` to text
|
||||
in migration deconstruction (:ticket:`23455` and :ticket:`23982`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue