bornhack-website/src/rideshare/admin.py
Thomas Steen Rasmussen e4f6670c45 fixup rideshare a bit
2019-07-11 20:48:14 +02:00

10 lines
243 B
Python

from django.contrib import admin
from .models import Ride
@admin.register(Ride)
class RideModelAdmin(admin.ModelAdmin):
list_display = ("camp", "user", "from_location", "to_location", "when", "seats")
list_filter = ("camp", "user")