projects
/
ais.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
557c8c5
)
Sort users by name in /user
author
Jean-Michel Nirgal Vourgère
<jmv@nirgal.com>
Mon, 2 Aug 2010 21:26:59 +0000
(21:26 +0000)
committer
Jean-Michel Nirgal Vourgère
<jmv@nirgal.com>
Mon, 2 Aug 2010 21:26:59 +0000
(21:26 +0000)
bin/djais/views.py
patch
|
blob
|
history
diff --git
a/bin/djais/views.py
b/bin/djais/views.py
index 9726731614ff54fad6b0bf446a7bf616bb997225..f52c8709c41d647551ec05d8b646031e554982df 100644
(file)
--- a/
bin/djais/views.py
+++ b/
bin/djais/views.py
@@
-520,7
+520,7
@@
def fleet_lastpos(request, fleetname):
@http_authenticate(auth, 'ais')
def users(request):
- users = User.objects.
all(
)
+ users = User.objects.
order_by('name'
)
for user in users:
user.admin_ok = user.is_admin_by(request.user.id)
if request.REQUEST.has_key('showtree'):