mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[3.1.x] Fixed #31664 -- Reallowed using non-expressions having filterable attribute as rhs in queryset filters.
Regression in4edad1ddf6. Backport ofb38d44229ffrom master
This commit is contained in:
committed by
Mariusz Felisiak
parent
df9b9de6b0
commit
83749dca7a
@@ -77,6 +77,7 @@ class ExtraInfo(models.Model):
|
||||
note = models.ForeignKey(Note, models.CASCADE, null=True)
|
||||
value = models.IntegerField(null=True)
|
||||
date = models.ForeignKey(DateTimePK, models.SET_NULL, null=True)
|
||||
filterable = models.BooleanField(default=True)
|
||||
|
||||
class Meta:
|
||||
ordering = ['info']
|
||||
|
||||
Reference in New Issue
Block a user