##// END OF EJS Templates
Moved login view to a separate class. Refactored thread and all threads views
Moved login view to a separate class. Refactored thread and all threads views

File last commit:

r542:8b7899f5 1.7-dev
r544:5f217adc 1.7-dev
Show More
archived_threads.py
9 lines | 225 B | text/x-python | PythonLexer
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)