Commits

Silas Baronda  committed 855662e

* now passing all to admin view for books/admin

  • Participants
  • Parent commits 4bf8d4f

Comments (0)

Files changed (2)

             notes_nodes     = node.getElementsByTagName("Notes")
             subject_nodes   = node.getElementsByTagName("Subjects")[0]
             
-            0130327654
             for node2 in title_nodes:
                 title = ""
                 for node3 in node2.childNodes:

File books/admin.py

 from library.books.models import Tag, Book
 
 class BookAdmin(admin.ModelAdmin):
-  fields = ('isbn',)
+  pass
+  #fields = ('isbn',)
 admin.site.register(Book, BookAdmin)
 
 class TagAdmin(admin.ModelAdmin):