mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-24 23:25:24 +00:00
accounts view sorts users by username
This commit is contained in:
parent
c4ae3d2982
commit
9327cf36c4
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ def accounts(request):
|
||||||
return HttpResponseRedirect(reverse('index'))
|
return HttpResponseRedirect(reverse('index'))
|
||||||
|
|
||||||
error_messages = []
|
error_messages = []
|
||||||
users = User.objects.all()
|
users = User.objects.all().order_by('username')
|
||||||
create_missing_userattributes(users)
|
create_missing_userattributes(users)
|
||||||
|
|
||||||
if request.method == 'POST':
|
if request.method == 'POST':
|
||||||
|
|
Loading…
Reference in a new issue