django-doormat Requires Django session middleware. DOORMAT_IGNORED_REFERRERS = ( r'^(.*.)sunlightfoundation.com$', )