the ‘package’ argument is required to perform a relative import for

Question:

I’m not sure what is causing this error I’m looking to try and runsever on django from windows PowerShell but im am getting that error and this wall of issues.

This was done after i ran python manage.py runserver

Any help on the issue would be great

Edit: Adding tree below

Answer:

The leading dot in include('.upload.urls') is causing the problem.

Assuming that upload is in your project directory (the one that contains manage.py), changing it to upload.urls should work.

Source:

the ‘package’ argument is required to perform a relative import for by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply