mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #31664 -- Reallowed using non-expressions having filterable attribute as rhs in queryset filters.
Regression in 4edad1ddf6.
This commit is contained in:
committed by
Mariusz Felisiak
parent
78ad4b4b02
commit
b38d44229f
@@ -68,6 +68,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