From baa1b05eb7824f5b151f4056a7edaa709ff6bd3b Mon Sep 17 00:00:00 2001 From: Carlos de la Guardia Date: Thu, 5 Mar 2015 22:34:29 -0600 Subject: [PATCH] Add empty introspection rule fro BlockTypeKeyField. From 0.7 on, South requires explicit introspection rules. Previously, it used the parser module to introspect. --- common/djangoapps/xmodule_django/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/common/djangoapps/xmodule_django/models.py b/common/djangoapps/xmodule_django/models.py index 0be207e8a6..8a3046c33b 100644 --- a/common/djangoapps/xmodule_django/models.py +++ b/common/djangoapps/xmodule_django/models.py @@ -179,3 +179,4 @@ class BlockTypeKeyField(OpaqueKeyField): add_introspection_rules([], [r"^xmodule_django\.models\.CourseKeyField"]) add_introspection_rules([], [r"^xmodule_django\.models\.LocationKeyField"]) add_introspection_rules([], [r"^xmodule_django\.models\.UsageKeyField"]) +add_introspection_rules([], [r"^xmodule_django\.models\.BlockTypeKeyField"])