0

Django Vs React

What is the difference between Django web framework and react library. I’ve always seen people used them in tandem so I’m curious how they accomplish that?

29th Jul 2019, 1:50 AM
Andrew
Andrew  - avatar
5 Answers
+ 1
Django is both frontend and backend
29th Jul 2019, 6:37 AM
Mirielle
Mirielle - avatar
+ 1
Seb TheS a hardcoded django app will have .py file extension while the template type will have the normal .html but it won't work until you change settings, add template directory and link it with another file (views.py)
29th Jul 2019, 11:21 AM
Mirielle
Mirielle - avatar
0
Cbr✔[ Not Active ] Django might not be used as frontend language, those websites wouldn't work for devices that don't have Python installed.
29th Jul 2019, 10:10 AM
Seb TheS
Seb TheS - avatar
0
Seb TheS you don't need to have python installed before django app can work on devices haha.... A simple app that dosen't reqiure backend services, maybe a tutorial app or something that dosen't reqiure a login form can be done with django....it's now your choice wethear to hardcode html in your .py views or you use a seperate .html template and link it with your .py views
29th Jul 2019, 11:16 AM
Mirielle
Mirielle - avatar
0
thank you everyone for the help!
30th Jul 2019, 2:11 AM
Andrew
Andrew  - avatar