diff options
Diffstat (limited to 'apps/links/admin.py')
-rw-r--r-- | apps/links/admin.py | 14 |
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 |