Running background tasks in Django

For modern web applications, running asynchronous tasks in the background is, more often than not, a must. Whether you need to parallelize something not-so-time-critical (say, thumbnail generation) or access that miraculous-but-really-slow machine learning API in the background, there is a plethora of other use cases that require the developer to isolate time-consuming operations from Django's [...]

Hosting a Django application with Apache’s mod_wsgi

According to Django's documentation, “deploying Django with Apache and mod_wsgi is a tried and tested way to get Django into production”. Let's hope they are right. Install mod_wsgi: Obviously, this step depends on your package manager (which is usually determined by your distribution). On Arch Linux it goes something like this: sudo pacman -Sy mod_wsgi [...]