from django.shortcuts import render
from django.contrib.auth.decorators import login_required
# from controlinterface.forms import AuthLoginForm

@login_required(login_url='/controlinterface/login/')
def index(request):
    print "Hello Index"
    return render(request,
                  'controlinterface/index.html')

# def login(request):
#     print "Hello Login"
#     return render(request,
#                   'controlinterface/login.html', AuthLoginForm)


@@ -217,32 +217,8 @@
 t):%0A
-    print %22Hello Index%22%0A
     
@@ -294,148 +294,5 @@
 ')%0A%0A
-# def login(request):%0A#     print %22Hello Login%22%0A#     return render(request,%0A#                   'controlinterface/login.html', AuthLoginForm)%0A
 %0A

Remove commented view code