﻿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
27355	Add PostgreSQL Extension operation example to reference page	Maxime Lorant	ntuckovic	"`TrigramExtension` and `UnaccentExtension` have been introduced in `django.contrib.postgres` in Django 1.10 to help developpers to activate the pg_trim and unaccent extension of postgres when they are using the corresponding ORM lookup.

Even though I feel pretty comfortable with the Django doc usually, this time, I did not find `UnaccentExtension` in few minutes. In local, I did the extension activation by myself (since I did not read the relevant part of the doc) but get stuck when trying to execute my unit tests. I think these migration operations are not stressed enough in the doc. I believe it is [referenced only here](https://docs.djangoproject.com/en/1.10/ref/contrib/postgres/lookups/), each time in a sentence which barely says when to use it. 

I think there should be an introduction at the top of the page linked above saying something like: ""The lookups above need the activation of extensions in Postgres. To enable them, you are advised to create a Django migration which will apply the relevant operation"", where the ""relevant operation"" is referring to either TrigramExtension or UnaccentExtension, but I don't know how to transcribe it :/ 

"	Cleanup/optimization	closed	Documentation	1.10	Normal	fixed	postgres unaccent trigram	reinout@…	Accepted	1	0	0	1	1	0
