Changeset 3e16749


Ignore:
Timestamp:
May 1, 2012 10:11:03 PM (3 years ago)
Author:
yomguy <yomguy@…>
Branches:
master, crem, crem2, dev, dev2, diadems, dj1.6, feature/breadcrumbs, feature/ts-0.5, feature/ts-0.5.4, feature/writecache, generic, instru_search, lam, lam2, mapsv3, merge, nlivemulti, production, release/1.4.4, sabiod, security, server, social, storage, telecaster, test
Children:
2444cce
Parents:
cda71a1
git-author:
yomguy <yomguy@…> (01/05/2012 22:11:03)
git-committer:
yomguy <yomguy@…> (01/05/2012 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.