Django: Deploying an application on Heroku with sqlite3 as the database
As Heroku's dynos don't have a filesystem that persists across deploys, a file-based database like SQLite3 isn't going to be suitable. It's a great DB for development/quick prototypes, though.
Heroku do have a Postgres offering however that will suit - with a free tier and a basic $9/month tier that are good for hobby/small projects. The biggest benefit over SQLite is that you get backups that you wouldn't get otherwise (plus all the other Postgres features).
There's a guide to updating your settings.py
to use Postgres here: https://devcenter.heroku.com/articles/getting-started-with-django#django-settings
SQLite Database not connected in Django Heroku
Is there a specific reason as to why you want to use SQLite on Heroku? A great option would be to use the postgress addon and use SQLite for local development and testing.
See how to connect to postgres in Django: postgres
You can also use the django-heroku package to easily configure your django app.
Can i use sqlite3 for simple django blog application in production on Heroku?
Personnaly i prefer using a robust database for production as mysql or postgresql cause sqlite is only for development purpose and it is not dedicated for the prod environment, think about the fact that you may have many users and data in the future ans it will be so difficult to migrate it from sqlite to another database so it is better to do it now.
Related Topics
I Don't Understand This Python _Del_ Behaviour
How to Install Pil with Pip on MAC Os
How to Create an Empty R Vector to Add New Items
What Are the Python Equivalents to Ruby's Bundler/Perl's Carton
Simple File Server to Serve Current Directory
How to Perform Element-Wise Multiplication of Two Lists
How to Overcome Typeerror: Unhashable Type: 'List'
In Python Interpreter, Return Without " ' "
Detect & Record Audio in Python
How to Return 0 with Divide by Zero
Replacing Numpy Elements If Condition Is Met
Putting an If-Elif-Else Statement on One Line
How to Get Value Counts for Multiple Columns at Once in Pandas Dataframe
Python Urllib2, Basic Http Authentication, and Tr.Im
Alternative Way to Split a List into Groups of N
Pip Freeze Creates Some Weird Path Instead of the Package Version