> When I use a SlugField in a model, > an index for this field is create in postgres. > > Why ?
Indexing a fields makes searches over that field faster. Slug fields are the very definition of a searchable, indexable field - the most common use case for a Slug is as part of a URL scheme. So, Django installs an index for each Slug field by default. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---