-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

  Thx for your clarification.

Russell Keith-Magee a écrit :
> 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.

Marc Fargas Esteve a écrit :
> Maybe because there is a high change that you will try to find rows
> based on this SlugField, so in common cases this INDEX will be nice.
> Also it's documented on
> http://www.djangoproject.com/documentation/model-api/#slugfield that
> this field has an implicit db_index=True, BUT you can always pass
> db_index=False if you do not want the index.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGH34B4dg3EDuiPUcRAhYrAJsFy3fyk2AAhRGd016SGamx7v6TjgCeIM2u
bv9jLPy2XNQgK4JHUG2ARBo=
=VEHH
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to