Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround for https://github.com/SmileyChris/easy-thumbnails/issues/388 #414

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zsoobhan
Copy link

@zsoobhan zsoobhan commented Jul 6, 2016

This is a workaround for my use case given the processors being used in my project were increasing the filename lengths to beyond 255 characters.

I separately added a small bit of .js to check for the length of file names when they are originally uploaded since the files being thumbnailed were uploaded by end users.

Changes the max_length on the models.File.name from 255 to 1023
Adds:

  • django migration
  • south migration

Changes the max_length on the File.name from 255 to 1023
Adds:
  - django migration
  - south migration
@aurimukas
Copy link

Hey!
I have exactly same problem.. and I've done exactly same thing (in my local/dev machine).. still I was thinking that using hashed names should be a cleaner solution (for me). the problem is that I've tried to define a different namer function still Thumbnails are being generated with a default namer function.. does anyone had this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants