2015-07-18 07:09:17 +00:00
|
|
|
from __future__ import unicode_literals
|
2012-07-12 05:32:07 +00:00
|
|
|
|
|
|
|
from django.shortcuts import render, redirect
|
|
|
|
|
|
|
|
|
2015-10-16 17:36:58 +00:00
|
|
|
from account.decorators import login_required
|
2012-07-12 05:32:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
@login_required
|
|
|
|
def dashboard(request):
|
|
|
|
if request.session.get("pending-token"):
|
2014-07-05 13:11:43 +00:00
|
|
|
return redirect("speaker_create_token",
|
|
|
|
request.session["pending-token"])
|
2012-07-12 05:32:07 +00:00
|
|
|
return render(request, "dashboard.html")
|