From 1496ce1efbe5b2977ec9fb0ea245f2f7391b070e Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Thu, 2 Jan 2020 12:00:34 +0100 Subject: [PATCH] Undefined name: import datetime for line 30 Without this change, line 30 will raise NameError at runtime. --- .../coursewarehistoryextended/migrations/0001_initial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/coursewarehistoryextended/migrations/0001_initial.py b/lms/djangoapps/coursewarehistoryextended/migrations/0001_initial.py index 440bdfa8c6..353f04a338 100644 --- a/lms/djangoapps/coursewarehistoryextended/migrations/0001_initial.py +++ b/lms/djangoapps/coursewarehistoryextended/migrations/0001_initial.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- - +import datetime from django.db import migrations, models import django.db.models.deletion