admin.site.register(FolderPart_Name) | admin.site.register(FolderPart_Name) | ||||
admin.site.register(JustifiedKey) | admin.site.register(JustifiedKey) | ||||
#@admin.register(BookInstance) | |||||
#class BookInstanceAdmin(admin.ModelAdmin): | |||||
# list_display = ('book', 'status', 'borrower', 'due_back', 'id') | |||||
# list_filter = ('status', 'due_back')# | |||||
# | |||||
# fieldsets = ( | |||||
# (None, { | |||||
# 'fields': ('book','imprint', 'id') | |||||
# }), | |||||
# ('Availability', { | |||||
# 'fields': ('status', 'due_back','borrower') | |||||
# }), | |||||
# ) |