In django you're importing a default cache, a default storage etc, and write your code to the interface. In settings.py you wire it all up. It's basically the same, for testing you would have to mock the import or provide some implementation.
The user doesn't write DI code for Django Class Based views. E.g. the view doesn't accept a Database upon instantiation.