TLDR: use update_or_create / get_or_create when the likelihood of updating existing instances is high. Use create with an IntegrityError catch when the odds of inserting new instances is higher.
A couple months ago, a pair of pigeons landed on a tree I’d laid out on the balcony. They were acting a little strange, so I went outside to shoo them away. As they reluctantly flew away, I discovered they’d been sitting on two fresh new eggs. And that was the…
I’ve been hearing good things about Dropbox Paper for a while now, but it wasn’t until a couple of days ago that I finally got around to trying it.
Wow, what a beautiful tool.
In my ongoing quest to find a decent asset compilation pipeline for SASS and Coffeescript, I’ve been examining Django-Assets-Toolkit. This package checks off a lot of boxes; It offers pure pythonic approach to compiling SASS and…
These were the top 10 stories published by Jean-Marc’s Thoughts; you can also dive into yearly archives: 2013, 2014, 2016, 2017, and 2018.