Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Author’s note: originally published in 2019, revised January 2026.
-
In view of the recent Shai-Hulud supply chain attack where a malicious package install script exfiltrated the current user’s environment variables and static secrets found in their files, I am describing a solution to eliminate static tokens in favor of d…
-
If you’re using Django (or any standards-compliant web application using cookie-based sessions) behind Cloudflare, you need to be aware of a massive limitation in their cache implementation that could lead to caching and leakage of private responses (inte…
-
This might be of interest if you are interfacing with the Wise (formerly TransferWise) API from a Python project.
-
When the latest ills of social media are discussed, someone will inevitably bring up the fediverse - the decentralized ecosystem of alternative social networks like Mastodon - as the miracle cure.
-
Let’s say we have the following model and we have the current version of the application already running and writing to it: class LogRecord(models.Model): timestamp = models.DateTimeField(auto_now_add=True) message = models.TextField() We’d like…
-
If you are using Django’s LiveServerTestCase to do browser-based testing, you might be running into sporadic database failures in between individual test methods.
-
Improve performance # When running projects locally (for development or running tests), you may be able to speed up database performance by adjusting its data durability settings.
-
In the context of Django reusable apps, I often need to provide a way for the user to configure a connection (or set of) to some database or third-party service, and optionally be able to substitute the driver/adapter class with a custom one.
-
Note: this is an old post from 2016 and hasn’t been updated nor reviewed since.