What does “Directory indexes are not allowed here.” mean in a Django error?

前端 未结 2 1834
旧时难觅i
旧时难觅i 2021-01-17 12:16

I am trying to debug this bizarre 404 error that surfaced in my Django application.

Page not found (404)
Request Method: GET
Request URL:    http://78.198.12         


        
2条回答
  •  轮回少年
    2021-01-17 12:59

    Check your settings.py file for the STATIC_URL value. You want the value to be the subfolder where your static files are stored - generally STATIC_URL = '/static/'.

提交回复
热议问题