<reponame>Michael-Xuke/wednesday<gh_stars>10-100
from django.contrib import admin

# Register your models here.
from .forms import BookForm
from .models import Book

class BookAdmin(admin.ModelAdmin):
	list_display = [
				"__unicode__",
				"slug",	
				]
	readonly_fields = ['slug', 'updated', 'timestamp', 'added_by', "last_edited_by"]
	
	form = BookForm

admin.site.register(Book, BookAdmin)