Python3

Work in progress.

Thinks, that have automated tests works.

The template is broken, don't know why.

**UPDATE:** the template works, there was a problem in my browser-cache
We should outsource the code in urls.py into a function and test this function then. See #1332.