This reverts commit 154f5f0de1. Aymeric: "I chose not to talk about django.setup() here on purpose. This will hardly always be the correct solution." Backport of 8121860be4 from master
154f5f0de1
8121860be4