Django + React JS - How To Integrate React Into Your Django Project

Ғылым және технология

Simple Tutorial On How To Integrate React Into Your Django Project.
Get A Free Python Handbook:
www.codewithtomi.ml/p/newslet...
If You Enjoy This Video, please subscribe to the channel
Patreon - / tomitokko
Newsletter - www.codewithtomi.ml/p/newslet...
Buy me a coffee - www.buymeacoffee.com/tomitokko
__KZread Gear__
Blue Yeti Microphone (amzn.to/2OmN1vG)
Hp Windows 10 (amzn.to/3unOkdb)
Wireless Mouse (amzn.to/3wgOjtf)
Homfa Computer Desk (amzn.to/3sGJ4AN)
Mini Ring Lights (amzn.to/39xSZRJ)
Canon EOS Camera (amzn.to/31ELVOV)
#Django #React

Пікірлер: 75

  • @Nikhil-Tomar
    @Nikhil-Tomar Жыл бұрын

    For anyone wondering, this is a hybrid model of React and Django and most useful since we can make use of various features of Django like forms and much more using this method, another model is standalone where a React frontend is only shown to the user and API request are sent to our django(backend server) to retrieve data, this is a more modular approach but various usefull features of django mentioned above are not directly available.

  • @BayronPerdomo-we4ji
    @BayronPerdomo-we4ji Жыл бұрын

    Probably the easiest way to get these two to work hand in hand! Awesome tutorial.

  • @TechieAmanda
    @TechieAmanda4 ай бұрын

    Great and simple tutorial on explaining how to set-up a project with React and Django. Exactly what I was looking for 👍

  • @parralelife
    @parralelife9 ай бұрын

    Thank you Tomi...you've taught me how to easily integrate Django and Reactjs. Many thanks once again!

  • @tomamore3
    @tomamore3 Жыл бұрын

    Great video dude! ...also, and this is coming from a place of love, we need to talk about your digital hoarding. We're all here for you. Everyone will pitch in and help you clean up that desktop but you have to commit to keeping it that way.

  • @mage9271
    @mage9271 Жыл бұрын

    everything works smoothly, thanks!

  • @AmitabhSuman
    @AmitabhSuman Жыл бұрын

    Perfect Tutorial ! Thank you so much !

  • @riadutta8085
    @riadutta8085 Жыл бұрын

    The best React and Django integration ❤️

  • @joshwzr1257
    @joshwzr1257Ай бұрын

    very precise. Thanks so much

  • @user-uz5rs1zy1n
    @user-uz5rs1zy1n10 ай бұрын

    thanks bro you just make my day

  • @RaivisPetrovskis
    @RaivisPetrovskis Жыл бұрын

    Thanks, great tut 👍

  • @adithyapokharel6831
    @adithyapokharel6831 Жыл бұрын

    Thanks for the video. But since react routes were not working so i figured out that instead of using path using re_path is better in 8:59 so it should be re_path(r"",views.index,name="index").This will ensure that any route that cannot be handled with django is handled by react application. However if you have no routes in react this should work fine.

  • @rangabharath4253
    @rangabharath42533 жыл бұрын

    awesome as always Tomi :-)

  • @CodeWithTomi

    @CodeWithTomi

    3 жыл бұрын

    Thanks a lot

  • @hesdf5643
    @hesdf5643 Жыл бұрын

    Bro great tutorial bro thank you

  • @ranaafaq786
    @ranaafaq786Ай бұрын

    Great tutorial 😍😍

  • @phillipcroukamp1825
    @phillipcroukamp1825 Жыл бұрын

    Thanks a ton young master keyboard warrior 👌 works perfectly

  • @bilalzeaiter9720
    @bilalzeaiter9720 Жыл бұрын

    beautiful and simple

  • @lalaniwerake881
    @lalaniwerake88110 ай бұрын

    wonderful, thank you!

  • @RaushanKumar-uj2ew
    @RaushanKumar-uj2ew6 ай бұрын

    very helpful video to help understand how to integrate react with django

  • @Memeparable
    @Memeparable9 ай бұрын

    You deserve much more attention

  • @nissioyere7822
    @nissioyere7822Ай бұрын

    Très utile merci beaucoup. Le tout fonctionne

  • @Unloco_mas
    @Unloco_mas3 жыл бұрын

    Tomi, great videos bro!!

  • @CodeWithTomi

    @CodeWithTomi

    3 жыл бұрын

    Thanks a lot

  • @ayenewyihune
    @ayenewyihune3 жыл бұрын

    Thanks for the video. But how would it be during development?

  • @navidazimi7816
    @navidazimi78162 жыл бұрын

    Thank you so much Tomi, This was really helpful. Can you build a small project with Django and react? That would be awesome 🙏

  • @CodeWithTomi

    @CodeWithTomi

    2 жыл бұрын

    Thanks for watching. I'll look into that

  • @raf_narok
    @raf_narok Жыл бұрын

    really great did you post a react + django tutorial ?

  • @brantechsyt6130
    @brantechsyt61303 жыл бұрын

    great tutorial!

  • @CodeWithTomi

    @CodeWithTomi

    3 жыл бұрын

    Thanks a lot

  • @RR-et6zp
    @RR-et6zp Жыл бұрын

    bro can you do a react tutorial for beginners please? you're a brilliant teacher, just went through the python one

  • @stivomoses8882
    @stivomoses888210 ай бұрын

    Great job

  • @sky7681
    @sky7681 Жыл бұрын

    Subscribed Tomi bhai🙏

  • @user-gz4ix7vl9m
    @user-gz4ix7vl9m Жыл бұрын

    Extremely helpfull

  • @maybe_ok
    @maybe_ok Жыл бұрын

    thank you bro

  • @hroman_codes
    @hroman_codes10 ай бұрын

    Thank you for this video 👍 I have one question: When I change my DIRS config to be ‘DIRS’: [os.path.join(BASE_DIR, ‘react app/build)] Will the templates I built before I added react to my project still work and render?

  • @harshitm9888
    @harshitm98883 жыл бұрын

    you are awesome brother... 👏👏👏👏

  • @CodeWithTomi

    @CodeWithTomi

    3 жыл бұрын

    Thanks

  • @francomacias8904
    @francomacias8904 Жыл бұрын

    Tomi Rocks!

  • @CodeWithTomi

    @CodeWithTomi

    Жыл бұрын

    Thanks 🙏:)

  • @amanihrd7609
    @amanihrd76096 ай бұрын

    thanks a lot

  • @yacinerouizi844
    @yacinerouizi8443 жыл бұрын

    thank you

  • @zach7894
    @zach78947 ай бұрын

    Has to be the simplest setup so far I've seen

  • @swayamsiddhanath6268
    @swayamsiddhanath6268 Жыл бұрын

    Hiw to reuse components of an older react app inside a new react app

  • @billionairedev6081
    @billionairedev6081 Жыл бұрын

    Thanks

  • @vigneshvangala2235
    @vigneshvangala2235 Жыл бұрын

    Plz do videos to render different components with dynamic data...

  • @tejakompella5704
    @tejakompella57044 ай бұрын

    If I do any change do I need to rebuild if yes how to rebuild

  • @sivar923
    @sivar92310 ай бұрын

    My output screen is blank Any one tell me the solution

  • @paulpopaul
    @paulpopaul Жыл бұрын

    why use both? in a dynamic project. more files more slow ¿

  • @csandreas1
    @csandreas17 ай бұрын

    Not sure how react renders that page, but I think you didn't render any static file, the image is an svg file. So in simple words unless you use {%load static %} and {$ static '' %} template tags, nothing will be served by django

  • @priyeshpandey7128
    @priyeshpandey7128 Жыл бұрын

    Did not return any httpresponse error

  • @groot843
    @groot843Ай бұрын

    So you are not rendering react template, just a template that is within the react app. It would not behave like a react web app (component loading) rather just like a django web app which renders html templates.

  • @stivomoses8882
    @stivomoses888210 ай бұрын

    Can I find the source code please?

  • @STANFORDCHIHOYI
    @STANFORDCHIHOYI3 ай бұрын

    can l have your django + react tutorial l cant see it

  • @vozestoica8436
    @vozestoica84369 ай бұрын

    When I make changes to the App.js file Django do not actualize the server

  • @codewithprinsa5030

    @codewithprinsa5030

    3 ай бұрын

    Same problem....have you found out solution?

  • @smnsdf
    @smnsdf3 жыл бұрын

    Tommi bro please upload flask from basics

  • @CodeWithTomi

    @CodeWithTomi

    3 жыл бұрын

    I have Tutorial on flask comming up soon

  • @Manikandan-wv5vu
    @Manikandan-wv5vu11 ай бұрын

    But I have blank screen

  • @heylive9387
    @heylive93872 жыл бұрын

    Something have been looking for 😍 But anytime we make edit in the react app we will need to delete build and re generate again Any solution?

  • @anonymous_31045

    @anonymous_31045

    Жыл бұрын

    better to use serializers, and set react app outside the the django folder, and connect them throught APIs. That will help.

  • @s1dev
    @s1dev3 жыл бұрын

    How do you host this? heroku?

  • @abcdefg91111

    @abcdefg91111

    Жыл бұрын

    you could use any host: heroku, aws, azure, etc. Just deploy the django app as you'd do normally

  • @traveler_through_life
    @traveler_through_life Жыл бұрын

    "bild" or like "be:ld", not "bew"...

  • @nikolacesarovic
    @nikolacesarovic11 ай бұрын

    Hello, I tried to do the same and it works, however when app.js is changed then nothing updates, for example text is added, it is not registered as if text was added, I also tried with python manage collectstatic and it still doesn't work, how can I solve that issue? P.S Sorry my english is bad.

  • @MihaManoj

    @MihaManoj

    10 ай бұрын

    Did you find a fix for this issue?

  • @nikolacesarovic

    @nikolacesarovic

    10 ай бұрын

    @@MihaManoj No

  • @overseek5868

    @overseek5868

    6 ай бұрын

    i dont think its the best way to connect react and django, u need to run build everytime u make changes on the react app xd

  • @nikolacesarovic

    @nikolacesarovic

    6 ай бұрын

    @@overseek5868 So how to connect to reactjs and django? xd, I'm a beginner in reactjs, django ok I know P.S Sorry my english is bad.

  • @codewithprinsa5030

    @codewithprinsa5030

    3 ай бұрын

    ​@@overseek5868i did the same but changes are not shown

  • @roshanican504
    @roshanican5043 жыл бұрын

    I am a beginner at django, When sees you do the projects, It looks like a piece of cake, but the reality is hard how can we or I as beginner be proficient in using django!?

  • @banka990
    @banka9904 ай бұрын

    So you promised a Django-React full-stack application tutorial and never delivered...

Келесі