Answers for "the 'package' argument is required to perform a relative import for"

1

the 'package' argument is required to perform a relative import for

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.
Posted by: Guest on June-03-2021

Code answers related to "the 'package' argument is required to perform a relative import for"

Browse Popular Code Answers by Language