user_image
By  daziduan-hard-reg    On   2018年1月2日 07:02

我们需要再运行下一个命令: $ python manage.py makemigrations polls 之后我的pycharm给的是一个warning WARNINGS: ?: (1_8.W001) The standalone TEMPLATE_* settings were deprecated in Django 1.8 and the TEMPLATES dictionary takes precedence. You must put the values of the following settings into your default TEMPLATES dict: TEMPLATE_DIRS. App 'polls' could not be found. Is it in INSTALLED_APPS? 是哪里出错了吗?