There is a tutorial step-by-step with this topic in this link: 
https://www.techiediaries.com/django-rest-image-file-upload-tutorial/

I hope it helps you.
Att, Guilherme.

Em segunda-feira, 15 de junho de 2020 15:44:45 UTC-3, Filip Bogdanovski 
escreveu:
>
> Hello everyone,
>
> I was wondering if someone know why my field for uploading pictures is 
> like this? I can't select new pictures from my computer to upload, only 
> ones already uploaded in the model instances through my Admin panel. It 
> looks this way on my all of my routes.
>
> Here is link for my github repository - 
> https://github.com/eonbre/DogApi1/tree/master/DrWebTestProject
>
> I would also love if someone would help me to return a random image on my 
> /breeds/<int:pk>/random route.
>
> Kind Regards,
> Filip
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-rest-framework+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-rest-framework/a99fc494-c7dd-4f88-83ec-077e34691312o%40googlegroups.com.

Reply via email to