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

(De)serialize S3DirectFIeld #39

Closed
shiranian opened this issue Feb 23, 2015 · 2 comments
Closed

(De)serialize S3DirectFIeld #39

shiranian opened this issue Feb 23, 2015 · 2 comments

Comments

@shiranian
Copy link

Does the S3DirectField support deserializing? I am trying to find a way to import images already uploaded and import them into a database. I have used deserialization to include these files with their URLs to S3, but if I want to change the field for the model from URL to S3Direct I need to associate the image urls with the files. Any thoughts? Thanks!

@bradleyg
Copy link
Owner

I think just changing the field type would work fine. S3Direct actually stores URLs, not standard Django file objects.

@shiranian
Copy link
Author

Thanks! It worked!

@bradleyg bradleyg closed this as completed Mar 2, 2015
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

2 participants