记录用Django搭建博客的问题之一:SITE_ID=1

error:You're using the Django "sites framework" without having set the SITE_ID setting. Create a site in your database and set the SITE_ID setting to fix this error

 

fixed:Adding "SITE_ID = 1" to your settings will get you past the exception 
without having to add it to INSTALLED_APPS. I had to do this one of my 
projects.

posted on 2014-01-05 00:40  chateldon  阅读(798)  评论(0编辑  收藏  举报

导航