记录用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.

原文地址:https://www.cnblogs.com/chateldon/p/3505579.html