@login_required
def subscriptions(request):
 t = loader.get_template('cabotapp/subscriptions.html')
 services = Service.objects.all()
 users = User.objects.filter(is_active=True)
 c = RequestContext(request, {'services': services, 'users': users, 'duty_officers': get_duty_officers()})
 return HttpResponse(t.render(c))

@ login_required def subscriptions ( request ) : t = loader . get_template ( 'cabotapp/subscriptions.html' ) services = Service . objects . all ( ) users = User . objects . filter ( is_active = True ) c = RequestContext ( request , { 'services' : services , 'users' : users , 'duty_officers' : get_duty_officers ( ) } ) return HttpResponse ( t . render ( c ) )
simple list of all checks .