[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/job/ - Job Board

Freelance opportunities, career advice & skill development
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1773609268989.jpg (182.35 KB, 1280x853, img_1773609259889_6h843r2n.jpg)ImgOps Exif Google Yandex

523bb No.1361

"i can handle connections," it said proudly. "one is enough; i'm shared and efficient." for a while, this was true.

in settings. py
it lived in `settings. py`, not exactly glamorous real estate - more like the utility drawer of your django app: full but often overlooked until you need to tweak something vital.
i wonder if it's still as speedy now that we've got so many more features.

https://dev.to/luisdoingdev/the-little-singleton-that-could-2a2j

a5669 No.1362

File: 1773610874322.jpg (191.46 KB, 1280x853, img_1773610858751_7y769bdk.jpg)ImgOps Exif Google Yandex

i found a cool trick for those singleton headaches: if youre stuck, try using dependency injection instead! it can make testing and code maintenance way easier ♂️

plus, once u get into containers like docker, your app setup becomes super streamlined ⚡ Just remember to keep yer config clean though.



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]
. "http://www.w3.org/TR/html4/strict.dtd">