Django with React - upload images

Sdílet
Vložit
  • čas přidán 2. 12. 2019
  • Tutorial on how to upload images using react on the front-end and Django on the back-end. We are using the newest Django 3 and React with hooks.
    Full Udemy course: www.udemy.com/course/react-dj...
    Source code: github.com/Nogostradamus/YT-i...
    Resources:
    www.django-rest-framework.org...
    github.com/adamchainz/django-...
  • Věda a technologie

Komentáře • 31

  • @tuanazzam5172
    @tuanazzam5172 Před rokem

    One of a most comprehensive video on react and django I ever watched. Nailed it man.

  • @tatemo_labs
    @tatemo_labs Před 3 lety +1

    Thank you! exactly what I was looking for.

  • @prakharjain2548
    @prakharjain2548 Před 2 lety

    thank you so much, exactly what i was looking for

  • @MmCameroooon
    @MmCameroooon Před 4 lety

    Great video! Very helpful. Was also wondering if you had any tips on uploading an image inside a class with other information, like a description of the video.

  • @dilipxspace
    @dilipxspace Před 3 lety

    it's a very good tutorial, thank you

  • @micahbeckman4442
    @micahbeckman4442 Před 3 lety

    Super dope. Thanks dude.

  • @jamesthomason4788
    @jamesthomason4788 Před 2 lety

    Hi, Amazing tutorial so far, it's helped me jumpstart learning django finally. I was wondering how i can REDIRECT the user to a whole new page after logging in, or just changing the page to the home page after the correct login credentials are made.

  • @jacobtam4279
    @jacobtam4279 Před 4 lety

    Great Video! But how will this work in production when DEBUG is set to True. the static method that you got from django.conf.urls.static will no longer work. How did you overcome this problem?

  • @VS257
    @VS257 Před 2 lety +1

    I seem to get this error when using FormData() and sending it to Django backend. json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0). My Django doesnt seem to parse multipart/form-data but yours can?? How did you do it?

  • @zackyzack2744
    @zackyzack2744 Před 2 lety

    Hi thanks for the great content, I was wondering if there is a way to modify the cover photo of a user using OneToOne, without usings forms?

  • @turbulantarchitect5286

    Excellent...many many thanks

  • @tabu6875
    @tabu6875 Před 3 lety

    Thanks man! very usefull!

  • @andersonmv5121
    @andersonmv5121 Před 3 lety

    Thank youuu sooooo much, so dope

  • @saswatpanda257
    @saswatpanda257 Před 2 lety

    great work

  • @BERTDELASPEED
    @BERTDELASPEED Před 2 lety +1

    The typos in this video had me 🤣 great content though

  • @user-mm8sq9gw1p
    @user-mm8sq9gw1p Před 3 lety

    it works well, but around 10:30 overriding post method, it seems like they don't do anything even if remove everyting about post method it works well, so i stuck when i wanted to add foreignKey at there

  • @nodirbek.uktamov
    @nodirbek.uktamov Před 3 lety

    very good thanks very much

  • @user-ke4yx6uw1r
    @user-ke4yx6uw1r Před 2 lety

    thank you very much

  • @JagadeshwaranR
    @JagadeshwaranR Před rokem

    Can we provide image store path to react public instead of django

  • @mursalrabb6093
    @mursalrabb6093 Před 3 lety

    Nice video bruh! but whats up with the light theme?

  • @ayushjain8338
    @ayushjain8338 Před 2 lety

    Can i send images in same way over web sockets?

  • @sathyasatz112
    @sathyasatz112 Před rokem

    Hi sir , not able to achieve multiple image storage .. Can you help me out to solve if possible

  • @VS257
    @VS257 Před 2 lety +3

    I followed through ur method... it is still not working for me... I am able to uplaod a photo but the url path to the photo is broken and inaccessible

  • @muklasarrahaman4427
    @muklasarrahaman4427 Před 4 lety

    please make a video on django video handle with react
    .

  • @adhilrumais5106
    @adhilrumais5106 Před 3 měsíci

    nice video

  • @nikhilsahu2242
    @nikhilsahu2242 Před 4 lety

    how to add multiple image ??

  • @shahadatraiyan6797
    @shahadatraiyan6797 Před 2 lety

    React Form Data: 22:28

  • @demetriusbrown7671
    @demetriusbrown7671 Před 2 lety

    Hello Krystian
    I have Django and Json programmer work I'd like to talk to you about. Please let me know if you are interested. Thanks