bornhack-website/src/rideshare/admin.py

9 lines
158 B
Python
Raw Normal View History

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):
list_filter = ('camp', 'user')