mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #15363 -- Renamed and normalized to get_queryset the methods that return a QuerySet.
This commit is contained in:
committed by
Simon Charette
parent
477d737e1e
commit
6983a1a540
@@ -289,3 +289,9 @@ on a widget, you should now define this method on the form field itself.
|
||||
|
||||
``Model._meta.module_name`` was renamed to ``model_name``. Despite being a
|
||||
private API, it will go through a regular deprecation path.
|
||||
|
||||
``get_query_set`` and similar methods renamed to ``get_queryset``
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Methods that return a ``QuerySet`` such as ``Manager.get_query_set`` or
|
||||
``ModelAdmin.queryset`` have been renamed to ``get_queryset``.
|
||||
|
||||
Reference in New Issue
Block a user