4 ms·
technically that's not dependency injection, but a global service locator.
by raziel2p 3y ago
technically that's not dependency injection, but a global service locator.
- bb88 3y agoYeah I agree on that here. The user doesn't write DI code for Django Class Based views. E.g. the view doesn't accept a Database upon instantiation.