Commit 825ea838 authored by Thomas Chaumeny's avatar Thomas Chaumeny Committed by Loic Bistuer
Browse files

Fixed #21196 -- Removed index on test field causing MySQL specific warning.

parent c1b9f99a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -654,7 +654,8 @@ class PrePopulatedPostLargeSlug(models.Model):
    """
    title = models.CharField(max_length=100)
    published = models.BooleanField(default=False)
    slug = models.SlugField(max_length=1000)
    # `db_index=False` because MySQL cannot index large CharField (#21196).
    slug = models.SlugField(max_length=1000, db_index=False)


class AdminOrderedField(models.Model):