Django

2018-12-16  本文已影响0人  某月_65cc

第一次在MAC上用Pycharm里的Django 遇到如下问题

WARNINGS:

?: (1_7.W001) MIDDLEWARE_CLASSES is not set.

        HINT: Django 1.7 changed the global defaults for the MIDDLEWARE_CLASSES. django.contrib.sessions.middleware.SessionMiddleware, django.contrib.auth.middleware.AuthenticationMiddleware, and django.contrib.messages.middleware.MessageMiddleware were removed from the defaults. If your project needs these middleware then you should configure this setting.

上一篇下一篇

猜你喜欢

热点阅读