~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: 2016-07-02 12:38:06 UTC
  • mfrom: (404.2.56 widelands)
  • Revision ID: somal@arcor.de-20160702123806-q69u3d48s1prrxds
merged the django1_8 branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from django.core.management.base import NoArgsCommand, CommandError
 
2
 
 
3
from djangoratings.models import SimilarUser
 
4
 
 
5
class Command(NoArgsCommand):
 
6
    def handle_noargs(self, **options):
 
7
        SimilarUser.objects.update_recommendations()
 
 
b'\\ No newline at end of file'