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