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
17 lines
374 B
Python
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(),
|
|
})
|