~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to djangoratings/management/commands/update_recommendations.py

  • Committer: franku
  • Date: 2018-11-21 17:54:32 UTC
  • mfrom: (508.1.1 widelands)
  • Revision ID: somal@arcor.de-20181121175432-8rc3h0332xmgmma4
merged trunk, resolved conflicts

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
from django.core.management.base import BaseCommand, CommandError
2
 
 
3
 
from djangoratings.models import SimilarUser
4
 
 
5
 
 
6
 
class Command(BaseCommand):
7
 
 
8
 
    def handle(self, *args, **options):
9
 
        SimilarUser.objects.update_recommendations()