2018-08-08 20:18:39 +00:00
|
|
|
from django.contrib import admin
|
|
|
|
|
2018-08-10 16:37:27 +00:00
|
|
|
from .models import Ride
|
|
|
|
|
|
|
|
|
|
|
|
@admin.register(Ride)
|
|
|
|
class RideModelAdmin(admin.ModelAdmin):
|
2019-07-11 18:48:14 +00:00
|
|
|
list_display = ("camp", "user", "from_location", "to_location", "when", "seats")
|
2019-06-16 12:32:24 +00:00
|
|
|
list_filter = ("camp", "user")
|