DEV Community

Discussion on: Is Django the best tool to create a website?

Collapse
waylonwalker profile image
Waylon Walker

This is such a broad question. Django is a good tool to build a website. It's probably the best tool for some use cases.

My first question would be do you even need a server side language? If every user sees the same content every time they load the page, you can get away with a single html page. The advantage here is there is no server to maintain, go down, get hacked, or pay for. A single html page can be hosted on a number of platforms for free and live essentially forever without you fussing with it.

A full Django application and a single html page are at the opposite ends of a full spectrum of options along the way. It's your job to decide whichbis best for your project.

I have not used Django, but it's being actively developed, and runs a number of large sites. I would say that it's a fine choice.

Collapse
the_soldier997 profile image
Iulian Author

the thing is that my website will have users and they will have to log in and register, and they will be able to post things inside the website, so I need the server side as well to save the data, i think Django is Avery good tool indeed but it would be great if there would be something easier for my first project

Collapse
yavuzalikorkut profile image
Yavuz Ali Korkut Ustbas

I think it will be easier to use Flask for your first project
testdriven.io/blog/django-vs-flask/

Thread Thread
c_v_ya profile image
Constantine

I would disagree since when using Flask you need to add/implement most of the things (ORM, auth, forms, mail, admin dashboard, etc) yourself. When in Django it's all included and all you need to worry about is developing. Not saying one is better than the other. Just for the projects where you sure you need at least a DB and auth mechanism, Django suits better IMO.

Thread Thread
waylonwalker profile image
Waylon Walker

Fantastic points 👌