Esempio n. 1
0
    def set_all(self):  # Set levels for all users -- this can't *actually*  be used.
        return  # Deprecated
        from ranking.methods import TopicLevelData, ProficiencyLevelData

        quiz_takers = QuizTaker.all().fetch(1000)  # this can only do a thousand at a time
        ptl = TopicLevelData()
        for qt in quiz_takers:
            ptl.set(qt)
        pl = ProficiencyLevelData()
        for qt in quiz_takers:
            pl.set(qt)