I\'m at wit\'s end. After a dozen hours of troubleshooting, probably more, I thought I was finally in business, but then I got:
Model class django.contrib.co
For PyCharm users: I had an error using not "clean" project structure.
Was:
project_root_directory
└── src
├── chat
│ ├── migrations
│ └── templates
├── django_channels
└── templates
Now:
project_root_directory
├── chat
│ ├── migrations
│ └── templates
│ └── chat
├── django_channels
└── templates
Here is a lot of good solutions, but I think, first of all, you should clean your project structure or tune PyCharm Django settings before setting DJANGO_SETTINGS_MODULE
variables and so on.
Hope it'll help someone. Cheers.