Does django staticfiles skip the middleware?

后端 未结 2 996
自闭症患者
自闭症患者 2021-01-11 23:35

I\'m running a django 1.4.1 app.

I didn\'t realize that just including django.contrib.staticfiles into INSTALLED_APPS in your settings is e

2条回答
  •  北恋
    北恋 (楼主)
    2021-01-12 00:35

    Found this issue when trying to modify request.path with middleware.

    Discovered urls resolve against request.path_info not request.path

提交回复
热议问题