mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #22778 -- Added a model Meta option to define default_related_name.
Thanks jorgecarleitao and mmardini for reviews.
This commit is contained in:
committed by
Tim Graham
parent
de90129070
commit
87d0a3384c
@@ -178,6 +178,10 @@ Models
|
||||
* Django now logs at most 9000 queries in ``connections.queries``, in order
|
||||
to prevent excessive memory usage in long-running processes in debug mode.
|
||||
|
||||
* There is now a model ``Meta`` option to define a
|
||||
:attr:`default related name <django.db.models.Options.default_related_name>`
|
||||
for all relational fields of a model.
|
||||
|
||||
* Pickling models and querysets across different versions of Django isn't
|
||||
officially supported (it may work, but there's no guarantee). An extra
|
||||
variable that specifies the current Django version is now added to the
|
||||
|
||||
Reference in New Issue
Block a user