PostgreSQLLesson 47Free preview
Connect to Database
This lesson is part of Django · All levels
Summary
After RDS was created, the Django project was connected to the database by changing the DATABASES configuration in settings.py. You fill in the host, port, database name, and credentials. Then run the migrate to make the table.
Key points
- Changes to the database (settings.py)
- Content HOST with RDS endpoint address
- Enter the correct credentials
- Run the migrate to make the table
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.