Another clarification:  It tells django to create an index on that
field when you run syncdb to create the tables for your apps.  Adding
it to an existing model won't change anything by itself.  If you
decide a field needs an index you can add it to the model definition,
and then you can use the "manage.py sqlindexes" command to see what
the sql commands are to create the indexes.  You'll need to run the
create index sql for that field manually using psql (assuming
postgres) or some other database client to add the indexes outside of
django.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to