The old code created keys like "('course', 'org')", and the space character caused a warning from Django during tests. Also, strings are probably better than tuples for keys.
requests