the sites framework - WBowam/wbowam.github.com GitHub Wiki
Date: 2014-10-07
Title: Django开启 the sites framework
Tags: Django
Category: It
以下内容来自Django文档
Changed in Django 1.6:
In previous versions, the sites framework was enabled by default.
To enable the sites framework, follow these steps:
Add 'django.contrib.sites' to your INSTALLED_APPS setting.
Define a SITE_ID setting:
SITE_ID = 1
Run migrate.