Is it possible to deploy Django with Sqlite?

前端 未结 3 1661
慢半拍i
慢半拍i 2021-01-28 05:49

I\'ve built a Django app that uses sqlite (the default database), but I can\'t find anywhere that allows deployment with sqlite. Heroku only works with postgresql, and I\'ve sp

3条回答
  •  后悔当初
    2021-01-28 06:03

    sure you can deploy with sqlite ... its not really recommended but should work ok if you have low network traffic

    you set your database engine to sqlite in settings.py ... just make sure you have write access to the path that you specify for your database

提交回复
热议问题