I'm still seeing this bug, so ticket-time it is. On Aug 8, 11:11 pm, Shev <[EMAIL PROTECTED]> wrote: > Hi Djangoers - I'm using Postgres 8.2 and I'm noticing that for all > models where I have a SlugField, the database index seems to be > missing where I also set unique=True in the SlugField definition. By > default, SlugField has db_index=True, according to the docs, and I do > see an index for SlugFields without unique=True. Is anyone else > seeing this? i.e. > > foo = models.SlugField() ----> index is present in Postgres, as > expected > > bar = models.SlugField(unique=True) ---> index is not present in > Postgres > > I also have other attributes on the SlugField, like maxlength, > blank=True and null=True, but the only consistent difference between > the SlugFields where an index is not present automatically vs those > that are seems to be the attribute unique=True. Manually creating the > index works fine. Any comments/suggests? Is this a bug? > > Shev
--~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---