sites based on django code example Example: django sites framework from django.contrib.sites.models import Site