About Django Console in PyCharm with Multiple Django Settings
When you have multiple Django settings (for example, for a multi-site project), Django shell in PyCharm doesn't allow you to select the settings and just uses the default project settings.
But you can fix that. Go to:
Preferences... ➔ Build, Execution, Deployment ➔ Console ➔ Django Console
Then change the content of Starting script:
1 2 3 4 5 6 7
Tips and Tricks Programming Developer Experience Django 4.2 Django 3.2 Django 2.2 Python 3 PyCharm