Fixed #22842

Changed the tutorial part 5 as in:
https://code.djangoproject.com/ticket/22842