Nathan Wailes
Nathan Wailes

Reputation: 12232

How to have PyCharm show the tables in a Django SQLite database?

I'm not very familiar with Django (I've used more Flask, Web.py, and Falcon), and one thing that I'm finding strange is that when I look at the 'Database' tab in PyCharm, I don't see a list of all of the tables that seem to be getting used in the database:

enter image description here

If I use python manage.py dbshell to start a sqlite3 session and then type .tables, this is the list of tables that I see:

enter image description here

How do I get those tables to be browsable from within the PyCharm database viewer?

Upvotes: 0

Views: 1200

Answers (1)

AKX
AKX

Reputation: 169051

Posting the comment as an answer:

PyCharm is occasionally a little slow on the uptake for new tables.

The Refresh/Synchronize button on the Database panel usually fixes that.

Upvotes: 1

Related Questions