If you look around, you'll find many references telling you to keep your business logic out of your views. This seems reasonable and by providing an example, those resources will explain this in a way that it makes total sense, at least at the time. Sadly... (more…)
Read more »
How do you use htmx (the lightweight JavaScript library that uses HTML markup) in Django? This article shows how and provides an example usage. (more…)
Read more »
This post looks at how to configure Celery to handle long-running tasks in a Django app. (more…)
Read more »
Improve your Django code and save effort during GitHub pull requests. Check your code now. (more…)
Read more »
Picture the scene: it’s 11pm and production is down. Stress. You’re about to roll back to the last good release. All you need is to… (more…)
Read more »