Mercurial > public > sg101
diff gpp/bio/views.py @ 125:903ae6168071
Bio: added odd/even styling to profiles. Make member's list viewable to logged in users only.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 14 Nov 2009 20:09:17 +0000 |
parents | a20b2c492d55 |
children | 7ea842744a57 |
line wrap: on
line diff
--- a/gpp/bio/views.py Sat Nov 14 04:32:32 2009 +0000 +++ b/gpp/bio/views.py Sat Nov 14 20:09:17 2009 +0000 @@ -23,6 +23,7 @@ ####################################################################### +@login_required def member_list(request, type='user', page=1): if type == 'user': users = auth.models.User.objects.all().order_by('username')