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

How To: Upload Multiple Images in Django Admin #96

Open
ygamretuta opened this issue Apr 19, 2017 · 1 comment
Open

How To: Upload Multiple Images in Django Admin #96

ygamretuta opened this issue Apr 19, 2017 · 1 comment
Assignees
Labels

Comments

@ygamretuta
Copy link

doc says use CloudinaryJsFileField, and some instructions to set it up with a frontend template and a view. How do I do it with the django admin?

@MaorGariv
Copy link

Hi @ygamretuta,

Sorry for the delayed response.

You can override and provide your own ModelForm to add the CloudinaryJsFileField.

There is an example of this field in our Django sample - https://github.com/cloudinary/cloudinary-django-sample

Also, please refer to the Django docs for more info on customised forms in Admin -
https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.form

@MaorGariv MaorGariv self-assigned this May 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants