11 lines
277 B
Python
11 lines
277 B
Python
from django.contrib import admin
|
|
from people.models import Person
|
|
|
|
|
|
@admin.register(Person)
|
|
class PersonAdmin(admin.ModelAdmin):
|
|
date_hierarchy = "created"
|
|
list_display = ("name", "bgg_username", "bgstats_id")
|
|
ordering = ("-created",)
|
|
search_fields = ("name",)
|