Django postgresql database using psycopg2 configuration

Answered

Hello Brand new to PYCharm so a little learning curve, but... I have a project that works fine from local python and pyscripter. Trying to migrate to PYCharm I see a DB connection but it keeps trying to use JDBC. My server is already working with psycopg2 but I don't know how to tell pycharm to use it..

 

any help is appreciated. would just like to see this run once from the new IDE...

Thanks

 

0
2 comments

You can keep using psycopg2 for your Django project's code. That's all in Python.

If you use the Database tool built into PyCharm's IDE, that's written in Java. It's part of the PyCharm product, not your Python Django application. Since that PyCharm feature is in Java, it talks to your database via JDBC.

0
Avatar
Permanently deleted user

Yes I now understand that since I was finally able to get my django project to connect Thanks

0

Please sign in to leave a comment.