mirror of
https://github.com/django/django.git
synced 2025-11-25 21:22:14 +00:00
Fixed #32951 -- Removed Query.where_class & co.
Unused since 3caf957ed5.
This commit is contained in:
parent
012f38f959
commit
c35b81b864
10 changed files with 29 additions and 25 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue