On Mon, 2007-03-12 at 09:29 -0700, Brendon wrote:
> Hello folks,
> 
> I'm curious if there is a better way of changing File and Image Fields
> from "varchar(100)" to "varchar(%(maxlength)s)" than editing "django/
> db/backends/mysql/creation.py". Is there any particular reason why
> these are hard set? My relative paths seem to have exceeded the 100
> char limit which is why I'm asking!

A change to fix this (make the length longer) will be committed after
0.96. I'm intentionally not committing it beforehand because it is a
backwards incompatible change in the sense that every database using
such a field will need to alter the respective column in the database
(there is now the possibility of submitting a string longer than 100
chars, so it had better fit in the database column).

Malcolm



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to