title: Restrict access to all the pages in a django app
body: <p>I want to restrict access to all <code>url(r'^engg/', include('engg.urls')),</code> and
  allow users to access them only if <code>request.user.profile.type is 'E'</code> . What is a simple way to do this except creating a decorator and applying it to every single view in engg/views.py ?</p>