symposion_app/symposion/views.py

15 lines
373 B
Python
Raw Normal View History

from __future__ import unicode_literals
from django.shortcuts import render, redirect
from account.decorators import login_required
@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"])
return render(request, "dashboard.html")