Update django/views/generic/base.py

fixed blank except