Django ‘Sites’ Model – what is and why is ‘SITE_ID = 1’?
Django was created from a set of scripts developed at a newspaper to publish content on multiple domains; using one single content base. This is where the “sites” module comes in. Its purpose is to mark content to be displayed for different domains. In previous versions of django, the startproject script automatically added the django.contrib.sites … Read more