Ticket #2495: 2495-doc.diff

File 2495-doc.diff, 649 bytes (added by Tim Graham, 9 years ago)
  • docs/ref/databases.txt

    diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt
    index 1b60123..718d1be 100644
    a b for the field. This affects :class:`~django.db.models.CharField`,  
    500500:class:`~django.db.models.SlugField` and
    501501:class:`~django.db.models.CommaSeparatedIntegerField`.
    502502
     503``TextField`` limitations
     504~~~~~~~~~~~~~~~~~~~~~~~~~
     505
     506MySQL can index only the first N chars of a ``BLOB`` or ``TEXT`` column. Since
     507``TextField`` doesn't have a defined length, you can't mark it as
     508``unique=True``.
     509
    503510.. _mysql-fractional-seconds:
    504511
    505512Fractional seconds support for Time and DateTime fields
Back to Top