summaryrefslogtreecommitdiff
path: root/main/admin.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-12-27 23:25:09 -0600
committerDan McGee <dan@archlinux.org>2012-12-28 14:48:29 -0600
commite0e2e169ec316c5d3d687e2ca211f9298f3210ee (patch)
treedd9e38bed600405b1c422a65735f9175f480bba1 /main/admin.py
parent2ff967c3d9433361b1f086c326f3a473f10373e3 (diff)
Remove old todo list models
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/admin.py')
-rw-r--r--main/admin.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/main/admin.py b/main/admin.py
index 741f6665..ef134187 100644
--- a/main/admin.py
+++ b/main/admin.py
@@ -1,5 +1,5 @@
from django.contrib import admin
-from main.models import Arch, Donor, Package, Repo, Todolist
+from main.models import Arch, Donor, Package, Repo
class DonorAdmin(admin.ModelAdmin):
list_display = ('name', 'visible', 'created')
@@ -25,10 +25,6 @@ class PackageAdmin(admin.ModelAdmin):
search_fields = ('pkgname', 'pkgbase', 'pkgdesc')
date_hierarchy = 'build_date'
-class TodolistAdmin(admin.ModelAdmin):
- list_display = ('name', 'date_added', 'creator', 'description')
- search_fields = ('name', 'description')
-
admin.site.register(Donor, DonorAdmin)
@@ -36,6 +32,4 @@ admin.site.register(Package, PackageAdmin)
admin.site.register(Arch, ArchAdmin)
admin.site.register(Repo, RepoAdmin)
-admin.site.register(Todolist, TodolistAdmin)
-
# vim: set ts=4 sw=4 et: