Mopidy Pummeluff – A music box for kids

Mopidy is an extensible music server written in Python. It provides a lot of different music sources, such as Spotify, SoundCloud, Google Play Music, and more. It’s a perfect open-source solution and alternative for SONOS, running on a Raspberry Pi. It’s nearly perfect for kids, and the only thing missing is a kids-compatible interface. That’s […]

Python namespaces

Introduction Python (at least IMO) is a very nice programming language, based on really powerful fundamentals. In this post, I don’t want to compare Python to other programming languages or value it. However, when it comes to the fundamentals of a programming language, Python has some interesting constructs which can differ from other languages. Namespaces […]

Accessing a model’s verbose names in Django templates

I love building web applications with Django and I love its ORM. Defining models is fairly simple and rendering forms and list is (more or less) straight forward. However, if you want to access the properties of the model’s fields in templates, then you might find a dead end really fast. This is especially hard […]

Django 1.8+ and MySQL / MariaDB full-text search

If you want to use MySQL’s or MariaDB’s full-text search feature with Django then you might have a problem, because Django doesn’t support MySQL’s full-text search out of the box. You can either do that by performing raw SQL queries or you extend the model’s SearchManager.

Django 1.9 released

Last week was the release of Django version 1.9. It’s a very popular and open source web framework that is written in Python. Django is widely spread in the internet and big platforms like Instagram, Reddit or Pinterest are using the framework. Ansible Tower is also based on the python web framework.

Calling Ansible handlers based on OS distributions

Sometimes you’ve got an Ansible task that should notify another task after a change. In Ansible this is called a handler and a description can be found here. Mostly the handler can be defined OS-independent. In this blog post, we show you, how to use a list of handlers for different OS distributions.

Deploying SSL private keys with Ansible

When you’re using Ansible or any other configuration management tool, you might come in contact with deploying SSL certificates sooner or later. While deploying public SSL certificates isn’t a security issue at all, the deployment of private keys become more critical – at least if you want to deploy them securely.

SublimeText: The editor you fall in love with

SublimeText is a text editor, though it’s far beyond a normal text editor. The developers describe it as: Sublime Text is a sophisticated text editor for code, markup and prose. You’ll love the slick user interface, extraordinary features and amazing performance. There you go, that’s what it is and I’m sure you agree to the extraordinary features […]