This commit is contained in:
j 2013-10-22 19:34:46 +00:00
parent 808689c0c3
commit 3373dc1180

View file

@ -804,7 +804,7 @@ def statistics(request):
stats = Settings.get('statistics') stats = Settings.get('statistics')
if not stats: if not stats:
import tasks import tasks
tasks.update_stats() tasks.update_statistics()
stats = Settings.get('statistics') stats = Settings.get('statistics')
response['data'] = stats response['data'] = stats
return render_to_json_response(response) return render_to_json_response(response)