'player' is not defined in baseball/views.py