Django uses VARCHAR(100) to store file names in MySQL. It's conceivable that users would upload files with long enough names to overflow this limit, especially since Django stores the relative path too. Did some quick researching and it looks like there's a Django ticket [#9893]. Meanwhile, there is also a quick and acceptable solution: http://code.djangoproject.com/ticket/9893#comment:8 i.e. use FileField(max_length=SOMETHING_BIGGER).
Handling this in bug 596116, along with some other minor fixes there as well.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 596116
You need to log in before you can comment on or make changes to this bug.