diff options
author | Dusty Phillips <buchuki@gmail.com> | 2008-11-09 17:13:59 +0100 |
---|---|---|
committer | Dusty Phillips <buchuki@gmail.com> | 2008-11-09 17:13:59 +0100 |
commit | c49adbc65cfaf151777790df8198d95a23d40335 (patch) | |
tree | 4bfd6c5a5b728db3a80360014bce1d00a6a02b72 /devel | |
parent | 8828419d9e1edc72ba37e8d8347caa3d4fc783de (diff) | |
download | archweb-c49adbc65cfaf151777790df8198d95a23d40335.tar.gz archweb-c49adbc65cfaf151777790df8198d95a23d40335.tar.xz |
don't show inactive users in dev list
Diffstat (limited to 'devel')
-rw-r--r-- | devel/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/views.py b/devel/views.py index e01d475..e16e849 100644 --- a/devel/views.py +++ b/devel/views.py @@ -14,7 +14,7 @@ def index(request): 'repos': Repo.objects.all(), 'arches': Arch.objects.all(), 'maintainers': [ User(id=0, username="orphan", first_name="Orphans") - ] + list(User.objects.all()) + ] + list(User.objects.filter(is_active=True)) } return render_to_response('devel/index.html', |