From 09a3a08144fd14fcd905cdf3e86dcc240458040c Mon Sep 17 00:00:00 2001 From: Evangelos Foutras Date: Sun, 31 Jan 2010 07:53:27 +0200 Subject: Adjust models and views for nullable maintainer Signed-off-by: Evangelos Foutras [Dan: made a few other small touchups] Signed-off-by: Dan McGee --- devel/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devel') diff --git a/devel/views.py b/devel/views.py index 29dfcd00..78c466ab 100644 --- a/devel/views.py +++ b/devel/views.py @@ -21,7 +21,7 @@ def index(request): 'todos': Todolist.objects.incomplete(), 'repos': Repo.objects.all(), 'arches': Arch.objects.all(), 'maintainers': [ - User(id=0, username="orphan", first_name="Orphans") + User(id=None, username="orphan", first_name="Orphans") ] + list(User.objects.filter(is_active=True).order_by('last_name')) } -- cgit v1.2.3-2-g168b