1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #22442 -- Provided additional documentation regarding id fields clashing.

Thanks benjaoming for raising the issue and Loic for the examples.
This commit is contained in:
Tim Graham
2014-04-28 09:28:03 -04:00
parent d9c272b22f
commit 8ec388a69d
2 changed files with 64 additions and 0 deletions

View File

@@ -1194,6 +1194,7 @@ Miscellaneous
fields in the model inheritance hierarchy results in a system check error.
For example, if you use multi-inheritance, you need to define custom primary
key fields on parent models, otherwise the default ``id`` fields will clash.
See :ref:`model-multiple-inheritance-topic` for details.
* ``django.utils.translation.parse_accept_lang_header()`` now returns
lowercase locales, instead of the case as it was provided. As locales should