Example #1
0
def preparePosts(request):
    predFuncs = PredictorFuncs()
    predFuncs.processAllExistingFeeds()
    return HttpResponse("True")
Example #2
0
def calculatePref(request):
	user_id = request.user.id
	predFuncs = PredictorFuncs()
	predFuncs.calculateUserPostDist(user_id)
	return HttpResponse("True")