From 78ebffa8615198d58856ba743b03918f0f612172 Mon Sep 17 00:00:00 2001 From: bmedx Date: Mon, 23 Oct 2017 15:41:13 -0400 Subject: [PATCH] Clean up survey warnings --- lms/djangoapps/survey/models.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lms/djangoapps/survey/models.py b/lms/djangoapps/survey/models.py index ecc2342b0f..f3c10c16a8 100644 --- a/lms/djangoapps/survey/models.py +++ b/lms/djangoapps/survey/models.py @@ -27,6 +27,9 @@ class SurveyForm(TimeStampedModel): name = models.CharField(max_length=255, db_index=True, unique=True) form = models.TextField() + class Meta(object): + app_label = 'survey' + def __unicode__(self): return self.name @@ -170,6 +173,9 @@ class SurveyAnswer(TimeStampedModel): # since it didn't exist in the beginning, it is nullable course_key = CourseKeyField(max_length=255, db_index=True, null=True) + class Meta(object): + app_label = 'survey' + @classmethod def do_survey_answers_exist(cls, form, user): """