nyzplymh

Results 1 comments of nyzplymh

我是按步骤来的,中途报了个缺少urls的模块,上网搜了搜把urls.py 中的第一行后面改成这样from django.conf.urls.defaults import *,然后数据库连好,其他的版本如下pil 1.1.7 ,django 1.3.1 ,grappelli 是2.2的,最初装的2.9的好像报的是模板的那个错,后来降了降级好了,xlrd是1.0.0 的版本,mysql 1.2.3 ,python版本是2.7.13,平台是window10.目前正常运行,就是/admin/ 的时候报的这个错:有知道的或者遇到的可以交流下,“TemplateSyntaxError at /admin/ Invalid template name in 'extends' tag: ''. Got this from the 'admin_template_base_site' variable.”