symposion_app/symposion/reviews/management/commands/calculate_results.py

12 lines
266 B
Python
Raw Normal View History

2012-08-14 07:54:45 +00:00
from django.core.management.base import BaseCommand
from django.contrib.auth.models import Group
from symposion.reviews.models import ProposalResult
class Command(BaseCommand):
def handle(self, *args, **options):
ProposalResult.full_calculate()