Add documentation and source
Added documentation, source and extra files.
This commit is contained in:
14
source/orm/library/admin/author.py
Normal file
14
source/orm/library/admin/author.py
Normal file
@ -0,0 +1,14 @@
|
||||
from django.contrib import admin
|
||||
|
||||
from library.models import Author
|
||||
|
||||
|
||||
@admin.register(Author)
|
||||
class AuthorAdmin(admin.ModelAdmin):
|
||||
"""
|
||||
Admin for book authors.
|
||||
|
||||
"""
|
||||
|
||||
list_display = ["id", "uuid", "first_name", "last_name"]
|
||||
list_per_page = 25
|
Reference in New Issue
Block a user