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

upload_to should take callables #23

Open
salian opened this issue Nov 16, 2015 · 2 comments
Open

upload_to should take callables #23

salian opened this issue Nov 16, 2015 · 2 comments

Comments

@salian
Copy link

salian commented Nov 16, 2015

Like the Imagefield it replaces, upload_to could take a callable so that we can easily use directory names or filenames that contain the pk of the model.

@jimmykobe1171
Copy link

yes, I agree.

@briceparent
Copy link

I've just created pull request #25 which addresses this.
Hope it can help you!

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

No branches or pull requests

3 participants