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

  Рет қаралды 92,808

Code With Tomi

Code With Tomi

3 жыл бұрын

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
__KZbin 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

Пікірлер: 71
@Nikhil-Tomar
@Nikhil-Tomar 11 ай бұрын
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
@TechieAmanda 2 ай бұрын
Great and simple tutorial on explaining how to set-up a project with React and Django. Exactly what I was looking for 👍
@parralelife
@parralelife 6 ай бұрын
Thank you Tomi...you've taught me how to easily integrate Django and Reactjs. Many thanks once again!
@riadutta8085
@riadutta8085 Жыл бұрын
The best React and Django integration ❤️
@mage9271
@mage9271 Жыл бұрын
everything works smoothly, thanks!
@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.
@AmitabhSuman
@AmitabhSuman 10 ай бұрын
Perfect Tutorial ! Thank you so much !
@adithyapokharel6831
@adithyapokharel6831 11 ай бұрын
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
@rangabharath4253 3 жыл бұрын
awesome as always Tomi :-)
@CodeWithTomi
@CodeWithTomi 3 жыл бұрын
Thanks a lot
@RaushanKumar-uj2ew
@RaushanKumar-uj2ew 3 ай бұрын
very helpful video to help understand how to integrate react with django
@phillipcroukamp1825
@phillipcroukamp1825 Жыл бұрын
Thanks a ton young master keyboard warrior 👌 works perfectly
@ayenewyihune
@ayenewyihune 3 жыл бұрын
Thanks for the video. But how would it be during development?
@navidazimi7816
@navidazimi7816 2 жыл бұрын
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
@user-uz5rs1zy1n
@user-uz5rs1zy1n 8 ай бұрын
thanks bro you just make my day
@homero_2.0
@homero_2.0 3 жыл бұрын
Tomi, great videos bro!!
@CodeWithTomi
@CodeWithTomi 3 жыл бұрын
Thanks a lot
@hroman_codes
@hroman_codes 8 ай бұрын
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?
@hesdf5643
@hesdf5643 11 ай бұрын
Bro great tutorial bro thank you
@raf_narok
@raf_narok Жыл бұрын
really great did you post a react + django tutorial ?
@bilalzeaiter9720
@bilalzeaiter9720 9 ай бұрын
beautiful and simple
@RaivisPetrovskis
@RaivisPetrovskis Жыл бұрын
Thanks, great tut 👍
@lalaniwerake881
@lalaniwerake881 8 ай бұрын
wonderful, thank you!
@brantechsyt6130
@brantechsyt6130 3 жыл бұрын
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
@Memeparable
@Memeparable 6 ай бұрын
You deserve much more attention
@harshitm9888
@harshitm9888 2 жыл бұрын
you are awesome brother... 👏👏👏👏
@CodeWithTomi
@CodeWithTomi 2 жыл бұрын
Thanks
@zach7894
@zach7894 4 ай бұрын
Has to be the simplest setup so far I've seen
@stivomoses8882
@stivomoses8882 8 ай бұрын
Great job
@maybe_ok
@maybe_ok 11 ай бұрын
thank you bro
@tejakompella5704
@tejakompella5704 2 ай бұрын
If I do any change do I need to rebuild if yes how to rebuild
@vigneshvangala2235
@vigneshvangala2235 Жыл бұрын
Plz do videos to render different components with dynamic data...
@user-gz4ix7vl9m
@user-gz4ix7vl9m Жыл бұрын
Extremely helpfull
@csandreas1
@csandreas1 4 ай бұрын
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
@sivar923
@sivar923 7 ай бұрын
My output screen is blank Any one tell me the solution
@yacinerouizi844
@yacinerouizi844 3 жыл бұрын
thank you
@amanihrd7609
@amanihrd7609 3 ай бұрын
thanks a lot
@sky7681
@sky7681 Жыл бұрын
Subscribed Tomi bhai🙏
@francomacias8904
@francomacias8904 Жыл бұрын
Tomi Rocks!
@CodeWithTomi
@CodeWithTomi Жыл бұрын
Thanks 🙏:)
@swayamsiddhanath6268
@swayamsiddhanath6268 Жыл бұрын
Hiw to reuse components of an older react app inside a new react app
@billionairedev6081
@billionairedev6081 Жыл бұрын
Thanks
@STANFORDCHIHOYI
@STANFORDCHIHOYI Ай бұрын
can l have your django + react tutorial l cant see it
@paulpopaul
@paulpopaul 10 ай бұрын
why use both? in a dynamic project. more files more slow ¿
@priyeshpandey7128
@priyeshpandey7128 11 ай бұрын
Did not return any httpresponse error
@smnsdf
@smnsdf 3 жыл бұрын
Tommi bro please upload flask from basics
@CodeWithTomi
@CodeWithTomi 3 жыл бұрын
I have Tutorial on flask comming up soon
@vozestoica8436
@vozestoica8436 6 ай бұрын
When I make changes to the App.js file Django do not actualize the server
@codewithprinsa5030
@codewithprinsa5030 Ай бұрын
Same problem....have you found out solution?
@stivomoses8882
@stivomoses8882 8 ай бұрын
Can I find the source code please?
@heylive9387
@heylive9387 2 жыл бұрын
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.
@nikolacesarovic
@nikolacesarovic 8 ай бұрын
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 7 ай бұрын
Did you find a fix for this issue?
@nikolacesarovic
@nikolacesarovic 7 ай бұрын
@@MihaManoj No
@overseek5868
@overseek5868 4 ай бұрын
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 3 ай бұрын
@@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 Ай бұрын
​@@overseek5868i did the same but changes are not shown
@Manikandan-wv5vu
@Manikandan-wv5vu 8 ай бұрын
But I have blank screen
@s1dev
@s1dev 2 жыл бұрын
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 11 ай бұрын
"bild" or like "be:ld", not "bew"...
@banka990
@banka990 Ай бұрын
So you promised a Django-React full-stack application tutorial and never delivered...
@roshanican504
@roshanican504 3 жыл бұрын
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!?
ISSEI funny story😂😂😂Strange World | Magic Lips💋
00:36
ISSEI / いっせい
Рет қаралды 183 МЛН
Follow @karina-kola please 🙏🥺
00:21
Andrey Grechka
Рет қаралды 25 МЛН
Create A Python API in 12 Minutes
12:05
Tech With Tim
Рет қаралды 538 М.
You might not need useEffect() ...
21:45
Academind
Рет қаралды 142 М.
Docker Crash Course #12 - Dockerizing a React App
10:18
Net Ninja
Рет қаралды 112 М.
Как Подключить React К Django?
17:19
PyLounge - программирование на Python и всё о IT
Рет қаралды 27 М.
Python Django Introduction and Beginners Tutorial
27:29
Dave Gray
Рет қаралды 42 М.
React + Django Integration Tutorial | Hello World App
11:01
Dennis Ivy
Рет қаралды 231 М.
IPad Pro fix screen
1:01
Tamar DB (mt)
Рет қаралды 7 МЛН
Fiber kablo
0:15
Elektrik-Elektronik
Рет қаралды 7 МЛН
Power up all cell phones.
0:17
JL FUNNY SHORTS
Рет қаралды 47 МЛН
3D printed Nintendo Switch Game Carousel
0:14
Bambu Lab
Рет қаралды 4,5 МЛН
Индуктивность и дроссель.
1:00
Hi Dev! – Электроника
Рет қаралды 1,5 МЛН