from django.shortcuts import render_to_response

from account.auth import *


'''
@author: Anant Bhardwaj
@date: Mar 21, 2013

Datahub Console
'''

@dh_login_required
def index(request):
  return render_to_response("console.html", {
    'login': get_login(request)})
from django.shortcuts import render_to_response
from django.contrib.auth.decorators import login_required


'''
@author: Anant Bhardwaj
@date: Mar 21, 2013

Datahub Console
'''


@login_required
def index(request):
    return render_to_response("console.html", {
        'login': request.user.username})

Make the console app work with the new user model.