Safely Cancel Your Celery Tasks

I've been working with Celery for a long time and these days it's a pretty stable part of my stack.  There's a lot of good articles out there on how and why you'd want to use this framework, this is not one of them.  If you're reading this I'm assuming you're already familiar with Celery.

One of the issues I've had over the years is…

Setting Up Multiple Databases With Django

Working with multiple databases in Django can seem a bit overwhelming at first but setting it up properly is straight forward and really effective.  I'm working on a project where I need to set up an external read-only database running MySQL.  I don't typically use MySQL and I wanted to isolate the data that was being imported into this database.  The database …

Building a Custom Django Admin Form

I recently needed an easy way to bulk upload data to one of my database models from the Django admin.  I didn't want this functionality accessible to users so it didn't make sense to build the CSV file import into the main application.  The only other place on the app where this form could live is the Django admin (at least for now).

There is a lot that can be …