Re: Unique CharField greater than 256 characters on MySQL Fails - what is the correct solution

2008-10-17 Thread adamiis111
How about we raise a validation error on UNIQUE CharField fields greater than 255 characters for all MySQL 5.0 implementations. I think the docs should be updated as well telling people that it's not best practice to use CharField for fields that need more than 255 characters (or at least put a n

Re: Unique CharField greater than 256 characters on MySQL Fails - what is the correct solution

2008-10-17 Thread adamiis111
t;[EMAIL PROTECTED]> wrote: > On Thu, 2008-10-16 at 15:28 -0700, adamiis111 wrote: > > I opened up a ticket regarding a bug in the django-app-plugin with > > regards to the indexed CharField being too large > > for MySQL 5.0: > > >http://code.google.com/p/django-app-p

Unique CharField greater than 256 characters on MySQL Fails - what is the correct solution

2008-10-16 Thread adamiis111
I opened up a ticket regarding a bug in the django-app-plugin with regards to the indexed CharField being too large for MySQL 5.0: http://code.google.com/p/django-app-plugins/issues/detail?id=11 I think that maybe Django's handling of this should be examined more generally for one of the followi