archived_threads.py
9 lines
| 225 B
| text/x-python
|
PythonLexer
neko259
|
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) |