summaryrefslogtreecommitdiff
path: root/devel/views.py
diff options
context:
space:
mode:
authorEvangelos Foutras <foutrelis@gmail.com>2010-01-31 07:53:27 +0200
committerDan McGee <dan@archlinux.org>2010-01-31 13:44:03 -0600
commit09a3a08144fd14fcd905cdf3e86dcc240458040c (patch)
tree72a03516cf3fa888d57cdca5b1fb18717532849f /devel/views.py
parent2c3c6cc2e1dc070395481f92f5499113b9e5a6bf (diff)
Adjust models and views for nullable maintainer
Signed-off-by: Evangelos Foutras <foutrelis@gmail.com> [Dan: made a few other small touchups] Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel/views.py')
-rw-r--r--devel/views.py2
1 files changed, 1 insertions, 1 deletions
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'))
}