From 0f905e4b4479894f67b12ad976402a9660f0cae4 Mon Sep 17 00:00:00 2001 From: Sergey Fedoseev Date: Mon, 31 Jul 2017 13:42:12 +0500 Subject: [PATCH] Removed unneeded TruncBase.arity. Uneeded since its introduction in 2a4af0ea43512370764303d35bc5309f8abce666. --- django/db/models/functions/datetime.py | 1 - 1 file changed, 1 deletion(-) diff --git a/django/db/models/functions/datetime.py b/django/db/models/functions/datetime.py index 2c6d66d2e6..a8e1ca45c1 100644 --- a/django/db/models/functions/datetime.py +++ b/django/db/models/functions/datetime.py @@ -148,7 +148,6 @@ ExtractYear.register_lookup(YearLte) class TruncBase(TimezoneMixin, Transform): - arity = 1 kind = None tzinfo = None