summaryrefslogtreecommitdiff
path: root/apps/links/admin.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2012-09-22 22:27:04 -0400
committerluxagraf <sng@luxagraf.net>2012-09-22 22:27:04 -0400
commitefb623af0bcb47d510501c282e1326b11343a29c (patch)
tree3a35fb19f5eba3b219c65277a5fb712cbe9604ac /apps/links/admin.py
parent0b481fd7931c2ae20ca21f89a87f2ba6a6c01e10 (diff)
site reorg
Diffstat (limited to 'apps/links/admin.py')
-rw-r--r--apps/links/admin.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/apps/links/admin.py b/apps/links/admin.py
deleted file mode 100644
index 2c73c76..0000000
--- a/apps/links/admin.py
+++ /dev/null
@@ -1,14 +0,0 @@
-from django.contrib import admin
-
-from links.models import Link
-
-class LinkAdmin(admin.ModelAdmin):
- list_display = ('title', 'rating', 'pub_date', 'status')
- search_fields = ['title','description','url']
- list_filter = ['rating', 'status']
- fieldsets = (
- (None, {'fields': ('title','url','description','rating')}),
- ('Details', {'fields': ('screen_url', 'pub_date', 'link_id', 'tags', 'status'), 'classes': 'collapse'}),
- )
-
-admin.site.register(Link, LinkAdmin) \ No newline at end of file