symposion_app/vendor/symposion/symposion/speakers/admin.py
Ben Sturmfels 34509d23eb
Make vendored symposion into an installable Python package
This allows us to install with `pip install "-e vendor/symposion"` similar to
the other vendored packages. There's no good reason for this to be different to
the others and depend on PYTHONPATH hacking.

Re-add
2023-04-24 16:38:25 +10:00

8 lines
238 B
Python

from django.contrib import admin
from symposion.speakers.models import Speaker
admin.site.register(Speaker,
list_display=["name", "email", "created", "twitter_username"],
search_fields=["name"])