-
Notifications
You must be signed in to change notification settings - Fork 95
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
Uploading of front/rear images for device types fails #84
Comments
Hello @jbemmel, as mentioned in the PR, v2.0.0 was released today. Thus, you will need to reevaluate how your PR is written and what files have been modified. I would be glad to assist if needed. |
Please also refer to this PR in the devicetype-library as well as this issue thread. In the coming days I will also be working on a new release for this script to accommodate these changes. Feel free to pitch in if you would like |
Working on a draft here: https://github.com/jbemmel/Device-Type-Library-Import/tree/fix_image_upload_v2 Need to move the images to the new location, will update after you push that |
Awesome, once the PR is fixed I'll merge the images for you |
The front_image and rear_image attributes require special handling for uploading images into Django.
Since the script doesn't use multipart/form data, the import of any device type that specifies these attributes fails with
The text was updated successfully, but these errors were encountered: