﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
29622	Support string transforms in functional indexes.	James Howe	nobody	"I am using PostgreSQL and have some JSONField-type fields in my models.
I had added some indexes to these, and they worked fine previously.
{{{#!python
class Meta:
    indexes = [
        models.Index(fields=['json_field__property'], name='my_idx'])
    ]
}}}

However, having just upgraded to Django 2.1, the checks on startup now fail:
{{{
ERRORS:
myapp.MyModel: (models.E012) 'indexes' refers to the nonexistent field 'json_field__property'.
}}}

My tests (run with pytest-django) all still work, so it seems to only be the system check that's the problem."	New feature	closed	Database layer (models, ORM)	dev	Normal	duplicate		jmh205@… Hannes Ljungberg	Someday/Maybe	0	0	0	0	0	0
