Source

django-syncr / syncr / readernaut / admin.py

Full commit
1
2
3
4
5
6
7
8
from django.contrib import admin
from models import Book

class BookAdmin(admin.ModelAdmin):
    search_fields = ['title', 'author',]
    list_display = ('created', 'title')
    
admin.site.register(Book, BookAdmin)