Added the Django code