##// END OF EJS Templates
Fixed image search by google. Added duplicates search for images
Fixed image search by google. Added duplicates search for images

File last commit:

r1616:21816ae5 default
r1802:5f0f8146 default
Show More
archive_threads.py
16 lines | 348 B | text/x-python | PythonLexer
neko259
Archive threads by expired time from creation instead of thread limit
r1616 from django.core.management import BaseCommand
from django.db import transaction
from django.db.models import Count
from boards.models import Thread
__author__ = 'neko259'
class Command(BaseCommand):
help = 'Archive old threads'
@transaction.atomic
def handle(self, *args, **options):
Thread.objects.process_old_threads()