11f697d137
* Remove markitup (to be replaced with Ace editor) * Use DUA decorators * Removed custom signup bits * Upgraded dependencies * Added migrations * Namespaced template locations * Removed html5parser/sanitizer (for now) - parsing functionality should be moved out entirely to a hooks * Replaced ProposalScoreExpression object with a function that returns F() expressions
14 lines
373 B
Python
14 lines
373 B
Python
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"):
|
|
return redirect("speaker_create_token",
|
|
request.session["pending-token"])
|
|
return render(request, "dashboard.html")
|