-
Notifications
You must be signed in to change notification settings - Fork 0
Home
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
- First of all you need four packages:
- Configuration
- For django-environcreate
.env
at the directory ofsettings.py
and atsettigns.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