symposion_app/symposion/conference/views.py
Patrick Altman 11f697d137 Massively upgrade symposion
* 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
2015-10-16 12:37:35 -05:00

17 lines
374 B
Python

from django.http import Http404
from django.shortcuts import render
from django.contrib.auth.models import User
from account.decorators import login_required
@login_required
def user_list(request):
if not request.user.is_staff:
raise Http404()
return render(request, "symposion/conference/user_list.html", {
"users": User.objects.all(),
})