16 lines
338 B
Python
16 lines
338 B
Python
from discgolf.models import DiscGolfCourse
|
|
|
|
from scrobbles.views import (
|
|
ScrobbleableListView,
|
|
ScrobbleableDetailView,
|
|
ChartContextMixin,
|
|
)
|
|
|
|
|
|
class DiscGolfCourseListView(ScrobbleableListView):
|
|
model = DiscGolfCourse
|
|
|
|
|
|
class DiscGolfCourseDetailView(ScrobbleableDetailView, ChartContextMixin):
|
|
model = DiscGolfCourse
|