News for hackers. Stuff that matters.
Re:Using a Framework will harm the maintenance of your software by Too on Thursday October 13, 2022 @01:28AM (#33187584)
Django requires you to have imported settings.py and be connected to the database first, before you can even import a model. It makes it impossible to write modules with type hints and modules which are partially usable outside of Django context.

If that is not dictating how you write your code, I don’t know what is.

Re:Using a Framework will harm the maintenance of your software by ensignavenger on Thursday October 13, 2022 @09:56AM (#33190992)
If you are connectiong to a database, you have to tell your program how to connect somewhere. The Django ORM does it through settings.py. I do both of the things you say are impossible, so maybe I am misunderstanding?