I fixed it by going to File -> Preferences -> Project Structure
selecting the /django-project-name
in the tree and clicking sources
to add it.
I fixed it by going to File -> Preferences -> Project Structure
selecting the /django-project-name
in the tree and clicking sources
to add it.