I cannot make migrations due to the issue stated in the title.
All of the files shown in explorer have the same issue.
I didn’t notice the issue until I went to make migrations for polls and returned the error:
ModuleNotFoundError: No module name ‘polls.apps.PollsConfigdjango’; polls.apps is not a package
I am doing the basic Django tutorial and this is the only issue I have had so far.
I tried changing polls.apps.PollsConfig in the installed apps section to have django at the end (as it is shown in the console error).
I tried changing pollsapps.py to ‘from mysite.apps’ which shows the same error, as well as ‘from polls.apps’ which shows a circular error. I did this to see if VSCode would remove the underline showing there was no longer an error. ‘from polls.apps’ did remove the underline, however when making the migration it showed a circular error in powershell.
I’m figuring on this being a simple beginner error and am hoping someone will know what the issue is at a glance. It wouldn’t bother me at all to start this over and do it again but since I clearly made an error and therefor likely didn’t understand something it would be very cool to know what that was and possibly gain some insight.
Thanks in advance for any and all assistance.
It may be important to mention I am using the version of powershell that comes with windows 11 and I am not using it from VSCode; I am only using VSCode for its browser/to write the code.