mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #31340 -- Allowed query expressions in SearchQuery.value and __search lookup.
This commit is contained in:
committed by
Mariusz Felisiak
parent
924c01ba09
commit
3baf92cf82
@@ -139,6 +139,11 @@ class Line(PostgreSQLModel):
|
||||
return self.dialogue or ''
|
||||
|
||||
|
||||
class LineSavedSearch(PostgreSQLModel):
|
||||
line = models.ForeignKey('Line', models.CASCADE)
|
||||
query = models.CharField(max_length=100)
|
||||
|
||||
|
||||
class RangesModel(PostgreSQLModel):
|
||||
ints = IntegerRangeField(blank=True, null=True)
|
||||
bigints = BigIntegerRangeField(blank=True, null=True)
|
||||
|
||||
Reference in New Issue
Block a user