DEV Community

Discussion on: Can we build a whole website using just django?????

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.