Fixed #19211 -- Adapted tutorial for Python 3
Fixed #19211 -- Adapted tutorial for Python 3

Backport of 7cc3acbb7 from master.

bliti/django-nonrel-1.5,ccn-2m/django,ccn-2m/django,ccn-2m/django,bliti/django-nonrel-1.5,bliti/django-nonrel-1.5,imtapps/django-imt-fork,ccn-2m/django,imtapps/django-imt-fork,imtapps/django-imt-fork