don't show inactive users in dev list

This commit is contained in:
Dusty Phillips 2008-11-09 11:13:59 -05:00
parent 8828419d9e
commit c49adbc65c

View File

@ -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',