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

Refs #25629 -- Added arity class attribute to Func expressions

This commit is contained in:
Sergey Fedoseev
2015-10-31 15:01:08 +05:00
committed by Claude Paroz
parent 03c6ad7ad4
commit 0a26121797
6 changed files with 27 additions and 10 deletions

View File

@@ -175,6 +175,10 @@ Models
accessible as a descriptor on the proxied model class and may be referenced in
queryset filtering.
* The :attr:`~django.db.models.Func.arity` class attribute is added to
:class:`~django.db.models.Func`. This attribute can be used to set the number
of arguments the function accepts.
Requests and Responses
^^^^^^^^^^^^^^^^^^^^^^