DEV Community

josnin
josnin

Posted on

Does Django need a database?

Depends on what you are trying to build though in most cases it will require to set up a database if you want to store the data permanently

Django supports a lighter version of database like SQLlite (out of the box) so it's easy to enable the database functionality

To be honest, one of Django strength is handling database, they have an efficient way of handling it using their own ORM, so if your project does not require any database activity there is no point in using Django it may be overkill for your project

Top comments (5)

Collapse
 
highcenburg profile image
Vicente G. Reyes

My current side project pulls data from APIs. It doesn't use a database yet since I don't save the pulled data to the database.

covid19ph-unofficial.icvn.tech/

Collapse
 
josnin profile image
josnin

Great design :)

Sooner or later it may require a database

Collapse
 
highcenburg profile image
Vicente G. Reyes

Thanks and yeah, I will be learning redis soon for caching and saving the pulled data to the database 😄

Collapse
 
ambitiont109 profile image
Muramoto Hideyosi

Hi there!
Your skill set is just like me. Are you not interested in online business?

Collapse
 
josnin profile image
josnin

Hi Bro

What kind of online business?