You can create a data source of the required type from scratch or by importing the configuration files that contain the necessary data definitions.

PyCharm recognizes the databases produced by the Django applications, and imports them to data sources.

In this section:

  1. Open the Database tool window.
  2. Do one of the following:
    • Right-click the tool window (any node or the background), and choose add.png Add Data Source.
    • Press Alt+Insert.
  3. From the drop-down list, choose Import from Project Files. PyCharm automatically recognizes the database, produced by a Django application, and generates the DB data source.
  1. Open the Database tool window.
  2. To start creating a data source, do one of the following:
    • Right-click the tool window (any node or the background), and choose add.png Add Data Source.
    • Press Alt+Insert.
  3. Select the type of the data source or the import option:

See Also

Concepts:

Procedures:

Reference:

Web Resources: