LOGIN_URL = '/login/'
LOGIN_EXEMPT_URLS = '^about\\.html$', '^legal/'
MIDDLEWARE_CLASSES = 'python.path.to.LoginRequiredMiddleware',
Django middleware with login and password which hides all the website pages