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 636B

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