~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-18 17:03:56 UTC
  • mto: (508.1.1 widelands)
  • mto: This revision was merged to the branch mainline in revision 510.
  • Revision ID: somal@arcor.de-20181118170356-n9g0g4uv7o0sofa4
cleanup

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()