made views agnostic to whether django.contrib.sites is installed (models still rely on it though)