Exercise 51 done with Django framework