Changeset 3e16749


Ignore:
Timestamp:
05/01/12 22:11:03 (13 months ago)
Author:
yomguy <yomguy@…>
Branches:
master, crem, crem2, dev, diadems, generic, instru_search, lam, nlivemulti, production, release/1.4.4, security, social, storage, test
Children:
2444cce
Parents:
cda71a1
git-author:
yomguy <yomguy@…> (05/01/12 22:11:03)
git-committer:
yomguy <yomguy@…> (05/01/12 22:11:03)
Message:

order user list by last_name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • telemeta/views/base.py

    rcda71a1 r3e16749  
    430430    @method_decorator(login_required) 
    431431    def users(self, request): 
    432         users = User.objects.all() 
     432        users = User.objects.all().order_by('last_name') 
    433433        return render(request, 'telemeta/users.html', {'users': users}) 
    434434 
Note: See TracChangeset for help on using the changeset viewer.