Coding style fixes

Signed-off-by: Michal Čihař <michal@cihar.com>
Remove not needed messages wrapper

Signed-off-by: Michal Čihař <michal@cihar.com>
Simplify code by using Django shortcuts

Signed-off-by: Michal Čihař <michal@cihar.com>
Coding style fixes

Signed-off-by: Michal Čihař <michal@cihar.com>