IOError - decoder jpeg not available 🐞

This is one of the blog posts, that is adressing the future me but might also be useful for you too. You might have gotten this »

Service Locator Pattern in Python?

The service locator pattern is a design pattern used in software development to encapsulate the processes involved in obtaining a service with a strong abstraction layer. »

Django, Localized Decimal-Fields, and our beloved Internet Explorer

Current versions of Internet Explorer aren't as bad as it used to be. Some even claim that Safari is the new IE. We usually don't have »

Letting Django know about your HTTPS proxy

If you are running a Django application behind a proxy, Django cannot automatically know if encryption is used. This can cause problems e.g. with redirects. »

Two seconds, then kill it with fire!

In this example I'm setting a time limit for code execution. If the execution takes too long, the TimeoutException is beeing raised and we can proceed »

Django Channels - a game changer

Do you remember the good old days, when everything was stateless and there was, at least most of the times, a response for every request? Those »

Cup-Recipe For (Django) Python Deployment Part 3 - Deployment

Happy New Year Happy new year everyone! I hope you could spend a nice time with your family and friends. I'm very sorry, that the third »

Cup-Recipe For (Django) Python Deployment Part 2 - Detailed Overview

Detailed Overview The last part outlined the bigger picture of the setup. Now we'll get a bit more into the details. reprepro You'll get several benefits »

Cup-Recipe For (Django) Python Deployment - Or How To Make Your Admin Happy

What To Expect In this short series I will explain how to deploy applications with deb packages – but without the usual pain involved. My focus will »

How to json serialize form errors in Django

This is really ugly and you will absolutely need it if you'd like to json serialize form errors in Django. Why? Because you'd like to reply »