How do I connect postgresql with django | Sololearn: Learn to code for FREE!

+4

How do I connect postgresql with django

8/20/2018 5:31:03 PM

Vignesh A

2 Answers

New Answer

+2

in settings file there is a place to specify database connection information

0

You first need to install the psycopg2 package. After installation you need to change your settings file from the default(sqlite3) to postgresql. Hope this helps!