From c6550fbdf7681a2d7d0ad1c893c13147d80405e3 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Tue, 25 Apr 2017 19:41:23 +0530 Subject: Fix typos and remove commented code --- yaksh/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'yaksh') diff --git a/yaksh/models.py b/yaksh/models.py index e856f9b..018a0dd 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -151,7 +151,7 @@ class Course(models.Model): objects = CourseManager() - def create_duplicate_course(self, user): ##@@ + def create_duplicate_course(self, user): quizzes = self.quiz_set.all() prerequisite_map = [] duplicate_quiz_map = {} @@ -182,7 +182,7 @@ class Course(models.Model): duplicate_prerequisite = Quiz.objects.get( id=duplicate_prereq_id ) - duplicate_quiz.prerequite.add(duplicate_prerequisite) + duplicate_quiz.prerequisite.add(duplicate_prerequisite) return new_course -- cgit