DEV Community

Discussion on: PYTHON/DJANGO vs REACT/VUE which is better to focus on?

Collapse
mattedwards profile image
Matt Edwards

I might not be the best person to comment on this because I'm at the very beginning of my Django journey but here goes anyway.

Django has essentially nothing to do with styling. It is a framework that enables you to use Python to code the back end of your web application. It has its own templating language but that does nothing more than generate the HTML. Styling comes from the CSS that you apply to that HTML.

React, Vue (or any other flavour of Javascript) manage the way that the website/application behaves when your users interact with it.

Collapse
yobretyo profile image
Bret Author

Yes,
but it is front end with Templates?
You can change a Vue or React app to use Django for the Admin.

Collapse
mattedwards profile image
Matt Edwards

I have seen some posts on dev.to that cover the use of Vue with the Django REST Framework but I'm not sure how you would use Vue with standard Django. Like I said, I'm pretty new to Django, but it seems that you have to use the Django template language to get the data from your models into your views.

I must admit that a similar question has occurred to me: if your focus is web apps, is Django the way to go or is it based on an outdated methodology?

Hopefully somebody with more experience will be able to comment :-)

Thread Thread
yobretyo profile image
Bret Author

thanks, i like how it loops through things, but i don't like the way how the Jinja, but have to be inside of a div, or if you keep it within because that how it will show it different.
focusing on python, has helped a little with JS