#2495: db.models.TextField cannot be marked unique when using mysql backend
-------------------------------------+-------------------------------------
     Reporter:  anonymous            |                    Owner:
         Type:  Bug                  |  Honza_Kral
    Component:  Database layer       |                   Status:  new
  (models, ORM)                      |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:  mysql TextField      |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by anubhav9042):

 I think that this is a problem of MYSQL and not Django. MySQL does not
 stores the key length for longtext types. So its not possible to assign a
 fey specification before that. And that seems to be a bug of MySQL.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/2495#comment:13>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.5b3ee46e64018ed5e2b174d633ef8c98%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to