Browse Source

„Licenseserver/health_view/admin.py“ ändern

undefined
Gabriel Kaufmann 3 years ago
parent
commit
120e04ce2a
1 changed files with 1 additions and 18 deletions
  1. 1
    18
      Licenseserver/health_view/admin.py

+ 1
- 18
Licenseserver/health_view/admin.py View File

@@ -1,26 +1,9 @@
from django.contrib import admin

from .models import Author, Genre, Book, BookInstance, FolderInfo, Permission, License, FolderPart
from .models import FolderInfo, Permission, License, FolderPart

#admin.site.register(Book)
#admin.site.register(Author)
#admin.site.register(Genre)
admin.site.register(FolderInfo)
admin.site.register(License)
admin.site.register(FolderPart)
admin.site.register(Permission)


#@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')
# }),
# )

Loading…
Cancel
Save