2π
I am using PyCharm Professional v2017.3.
In Database pane, click the plus button and add Data Source -> Sqlite (Xerial)
. Data Sources and Drivers
settings will open up where you will see Driver: Sqlite (Xerial)
. This does not mean drivers are fully installed. Look at the bottom-left of the pain for a message. If it has a warning sign about missing files, install missing files. Otherwise it will say no objects
.
2π
Yeah, Pycharm seems stupid on that, Iβve stubled upon the solution with a bunch of luck:
- Make sure you have all schemas shown: db->Schemas
- Still, the tables do not show..until you select the db and hit Reload: Cmd+R or Context menu
- [Django]-Django β how to write users and profiles handling in best way?
- [Django]-In Django, how to rename user model?
- [Django]-Receiving ajax posted object in django view
1π
After clicking on the View => Tools => Window => Database
click on the green plus icon and then on Data Source => Sqlite (Xerial)
. Then, on the window that opens install the driver (itβs underneath the Test Connection
button) that is proposing (Sqlite (Xerial)
).
That should do it both for db.sqlite3
and identifier.sqlite
. I have never any problem with Sqlite database, showing on PyCharm IDE.
0π
It might be stupid thing but consider that you have to connect actual DB and not only indentifier.
The fastest way is to double tap on the DB file in the file explorer and Pycharm will automatically suggests everything.
- [Django]-How to use SASS in Django?
- [Django]-Django ModelChoiceField not being updated with new data
- [Django]-Django psycopg2.errors.InvalidSchemaName: no schema has been selected to create in
- [Django]-Django "through" model iteration
0π
UPDATE:
I am using Pycharm 2022.3.2 Version. I was trying the hit and try method for hours now and it seemed to work for me.
View-> Tool Windows-> Databases
- Once Databases Open on the left side pane.
Click on the+
button and choose `Data source from Path - Then choose the path of your
db.sqlite3
file and clickopen
- After that Choose the drive from the drop down and choose
sqlite
and clickOK
- The db should work fine now and tables should be populated as per the data. Atleast mine did. Try this and let me know if that works!!!
- [Django]-ImportError: No module named south
- [Django]-Django FilteredSelectMultiple not rendering on page
- [Django]-Amazon ELB + Django HTTPS issues
- [Django]-Using profiles in iPython and Django