mirror of
https://github.com/django/django.git
synced 2025-07-23 05:05:17 +00:00
Fixed #31340 -- Allowed query expressions in SearchQuery.value and __search lookup.
This commit is contained in:
parent
924c01ba09
commit
3baf92cf82
6 changed files with 43 additions and 4 deletions
|
@ -185,6 +185,17 @@ class Migration(migrations.Migration):
|
|||
},
|
||||
bases=None,
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='LineSavedSearch',
|
||||
fields=[
|
||||
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
|
||||
('line', models.ForeignKey('postgres_tests.Line', on_delete=models.CASCADE)),
|
||||
('query', models.CharField(max_length=100)),
|
||||
],
|
||||
options={
|
||||
'required_db_vendor': 'postgresql',
|
||||
},
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='AggregateTestModel',
|
||||
fields=[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue