[Answered ]-What internal tables are automatically created by Django?

2👍

Depending on your database, you could find the appropriate command and see all the tables created.

PostgreSQL :

  • \list or \l: list all databases
  • \dt: list all tables in the current database

MySQL :

  • show tables;

Similarly for other db SQL, Oracle

The actual list might depend on which apps have been enabled and third party plugins are used. If you want to find all the tables (without any 3rd party app), easiest way might be to create a project and enable all the apps in settings.

Here’s an example for Django 1.9 :

auth_group auth_group_premissions auth_permission django_content_type
django_migrations django_session django_site user user_groups
user_user_permissions

👤Jaimes

Leave a comment