mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
11 lines
No EOL
303 B
Python
11 lines
No EOL
303 B
Python
from optparse import make_option
|
|
from django.core.management.base import BaseCommand
|
|
from apps.statistics.models import MStatistics
|
|
|
|
class Command(BaseCommand):
|
|
option_list = BaseCommand.option_list + (
|
|
)
|
|
|
|
def handle(self, *args, **options):
|
|
MStatistics.collect_statistics()
|
|
|