I'm also not sure if this is really the right approach, although the actual problem exists in Django and is not likely to be fixed.