DEV Community

JesterRexx-ux
JesterRexx-ux

Posted on

Can we build a whole website using just django?????

I am thinking of making a whole website but not into frontend language.........and learnd about that we can create a website in django totally!!!
Is that true???

Top comments (6)

Collapse
 
tlylt profile image
Liu Yongliang

Yes, you can use the template language supported by Django to do some basic/interesting stuff on the front end, without integrating a full front-end framework. So overall, good to go with just Django if your website not highly sophisticated. However, if you would like to use a front-end framework for that website in the future, you may want to keep that in mind when building the website.

Collapse
 
lanceofwhichwedream profile image
Lance Zeligman

I've always been curious, how do frameworks interact with Django? Is it difficult to add them or?

Collapse
 
tlylt profile image
Liu Yongliang

For one, you can use the Django REST framework and build an backend API service that talks to your front end framework. So Django handles the interaction with the database and exposes endpoints for your front end to request for resources. Difficulty wise I can’t really comment on that, but I think the combination of Django with popular front end frameworks is not rare, should be pretty doable.

Thread Thread
 
lanceofwhichwedream profile image
Lance Zeligman

Awesome, thanks for the info. I should try playing around with that in the future.

Collapse
 
george_pollock profile image
george_pollock

Yes. Django is MVC where V is for view.
You can use JS or JQuery to improve View functionalities

Check this in my open source project for beginners

github.com/PodcasterDJ/Podcaster

Collapse
 
mh_shifat profile image
5hfT

yup you can