Skip to content
mushfiqur-rahman edited this page Jun 27, 2023 · 1 revision

How to host this project on Render


If you want to host django project on web you need to use MySQL, PosgreSQL, MongoDB etc. But the package that connect mongoDB to django name is djongo that is under the testing. I was facing lots of error then I choose PosgreSQL

  1. First of all you need four packages:
  1. Configuration
  • For django-environcreate .env at the directory of settings.py and at settigns.py add below code
import environ


env = environ.Env()
environ.Env.read_env()
  • Add below code on the settings.py file
import dj_database_url
Clone this wiki locally