add instructions for trigram search to README

This commit is contained in:
Sanj 2012-05-15 21:51:40 +05:30
parent 7554003088
commit 53037c064f

6
README
View File

@ -2,6 +2,12 @@ Note: If running postgres 9.1 and Django < 1.4, you will probably need this patc
Don't forget to install python-psycopg2 and python-gdal for the sake of GeoDjango. Don't forget to install python-psycopg2 and python-gdal for the sake of GeoDjango.
To install Trigram Search:
psql <database_name>
create extension pg_trgm;
\q
python manage.py trgmidx
chaloBEST chaloBEST
Get: Get: