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