Skip to content
Snippets Groups Projects
Commit 7082a991 authored by stvn's avatar stvn
Browse files

fix: Manually backfill lti_config dicts

The difficulty here is that the empty string in an invalid JSON
dictionary (as opposed to None/NULL or '{}' which is just "blank");
attempts to instantiate models would fail, given the invalid data. This
meant we couldn't use the Django ORM to handle the migration entirely;
we need to craft some raw SQL to work-around these checks and
limitations.

Related-To: 42a9e342
Related-To: https://github.com/edx/xblock-lti-consumer/pull/144
parent 1552134f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment