~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-12-13 18:28:51 UTC
  • mto: This revision was merged to the branch mainline in revision 443.
  • Revision ID: somal@arcor.de-20161213182851-bo5ebf8pdvw5beua
run the script

Show diffs side-by-side

added added

removed removed

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