don't show inactive users in dev list
This commit is contained in:
parent
8828419d9e
commit
c49adbc65c
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user