##// END OF EJS Templates
Made settings view class-based
Made settings view class-based

File last commit:

r542:8b7899f5 1.7-dev
r547:38f08470 1.7-dev
Show More
archived_threads.py
9 lines | 225 B | text/x-python | PythonLexer
/ boards / views / archived_threads.py
neko259
Rewriting views to class-based
r542 from boards.models import Thread
from boards.views.all_threads import AllThreadsView
__author__ = 'neko259'
class ArchiveView(AllThreadsView):
def get_threads(self):
return Thread.objects.filter(archived=True)