NewsBlur/apps/statistics/management/commands/collect_feedback.py

7 lines
203 B
Python
Raw Normal View History

from django.core.management.base import BaseCommand
from apps.statistics.models import MFeedback
class Command(BaseCommand):
def handle(self, *args, **options):
MFeedback.collect_feedback()