mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #32508 -- Raised TypeError instead of using "assert" on unsupported operations for sliced querysets.
This commit is contained in:
@@ -318,6 +318,9 @@ Miscellaneous
|
||||
rather than via the recommended ``AdminSite.urls`` property, or
|
||||
``AdminSite.get_urls()`` method.
|
||||
|
||||
* Unsupported operations on a sliced queryset now raise ``TypeError`` instead
|
||||
of ``AssertionError``.
|
||||
|
||||
.. _deprecated-features-4.0:
|
||||
|
||||
Features deprecated in 4.0
|
||||
|
||||
Reference in New Issue
Block a user