mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
Fixed #32951 -- Removed Query.where_class & co.
Unused since 3caf957ed5.
This commit is contained in:
committed by
Mariusz Felisiak
parent
012f38f959
commit
c35b81b864
@@ -32,7 +32,7 @@ class ActiveTranslationField(models.ForeignObject):
|
||||
"""
|
||||
requires_unique_target = False
|
||||
|
||||
def get_extra_restriction(self, where_class, alias, related_alias):
|
||||
def get_extra_restriction(self, alias, related_alias):
|
||||
return ColConstraint(alias, 'lang', get_language())
|
||||
|
||||
def get_extra_descriptor_filter(self, instance):
|
||||
|
||||
Reference in New Issue
Block a user