I develop backend with django. But now I want to develop frontend also. Is django is the best option for this or do I need to study react or angular to connect with django?
“Best” is a relative term and can only be addressed within the context of a specific application.
There are some applications where the standard Django environment is best.
There are some applications where HTMX is best.
There are some applications where Django with Vue / React / Angular /etc are best.
There are some applications where Django / Django Rest Framework with Vue / React / Angular / etc are best.
There are some applications … (anyway, you get the idea).
Do you need to study Vue / React / Angular to connect with Django? No. I’ve been working with Django consistently for more than 8 years now and have never used any of them. They would provide zero value for the applications I build.
(Note: if you can, meaning the “pencil” icon appears next to the title at the top of the thread, it would be nice if you corrected the typo in the title.)
I can recommend going to freecodecamp online. They have a lot of great content if you want to try and learn
The precise answer to your question is actually “both” and “neither”.
The question isn’t “what is the front-end using”, it’s “what is generating the html that the user is seeing”. When you’re creating the front end only using Django, you and Django are creating all the HTML that will eventually be seen by the user. When you add something like Vue into the mix, you’re adding another program that will generate HTML - affecting what is visible in the browser.
Therefore, if you’re looking for “easiest to learn”, starting out with just Django is the best place to start. You can add features and functionality later as desired.
Some great answers on this thread. I just wanted to call out HTMX as a nice solution that plays very nicely with Django and can provide a lot of what react/angular might do on the front end, but let you work almost entirely in Django templates.