9 lines
283 B
Python
9 lines
283 B
Python
from django.views.generic import ListView
|
|
from django.shortcuts import render
|
|
from django.http import HttpResponse
|
|
from odyseescraper.models import OdyseeChannel, OdyseeRelease
|
|
|
|
class OdyseeReleaseListView(ListView):
|
|
model = OdyseeRelease
|
|
template_name = 'release_list.html'
|