Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 10
  1. Author’s note: originally published in 2019, revised January 2026.

  2. 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…

  3. 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…

  4. This might be of interest if you are interfacing with the Wise (formerly TransferWise) API from a Python project.

  5. 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.

  6. 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…

  7. 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.

  8. 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.

  9. 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.

  10. Note: this is an old post from 2016 and hasn’t been updated nor reviewed since.