Digital Rights Management für elektronische Patientenakten
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

admin.py 736B

1234567891011121314151617181920212223242526
  1. from django.contrib import admin
  2. from .models import Author, Genre, Book, BookInstance, FolderInfo, Permission, License, FolderPart
  3. #admin.site.register(Book)
  4. #admin.site.register(Author)
  5. #admin.site.register(Genre)
  6. admin.site.register(FolderInfo)
  7. admin.site.register(License)
  8. admin.site.register(FolderPart)
  9. admin.site.register(Permission)
  10. #@admin.register(BookInstance)
  11. #class BookInstanceAdmin(admin.ModelAdmin):
  12. # list_display = ('book', 'status', 'borrower', 'due_back', 'id')
  13. # list_filter = ('status', 'due_back')#
  14. #
  15. # fieldsets = (
  16. # (None, {
  17. # 'fields': ('book','imprint', 'id')
  18. # }),
  19. # ('Availability', {
  20. # 'fields': ('status', 'due_back','borrower')
  21. # }),
  22. # )