you should return an error to urls.py line 12, because when you catch the error here, we can only tell that it failed by looking at the ec2 console