15 lines
320 B
Python
15 lines
320 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
# vi:si:et:sw=4:sts=4:ts=4
|
||
|
# Written 2010 by j@mailb.org
|
||
|
|
||
|
from django.contrib import admin
|
||
|
|
||
|
import models
|
||
|
|
||
|
|
||
|
class ItemAdmin(admin.ModelAdmin):
|
||
|
search_fields = ['filename', 'slug']
|
||
|
list_display = ('slug', 'filename', 'created', 'size', 'done')
|
||
|
admin.site.register(models.Item, ItemAdmin)
|
||
|
|