Traceback (most recent call last):


 "/home/relskhan/anaconda3/envs/tesr/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 2646, in get_loc

return self._engine.get_loc(key)


 "pandas/_libs/index.pyx", line 111, in pandas._libs.index.IndexEngine.get_loc


 "pandas/_libs/index.pyx", line 138, in pandas._libs.index.IndexEngine.get_loc


 "pandas/_libs/hashtable_class_helper.pxi", line 1619, in pandas._libs.hashtable.PyObjectHashTable.get_item


 "pandas/_libs/hashtable_class_helper.pxi", line 1627, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'close'

Traceback (most recent call last):


 "/usr/local/lib/python3.6/site-packages/drf_yasg/inspectors/base.py", line 50, in call_view_method

return view_method()


 "/code/vitapio/candidates/views.py", line 165, in get_queryset

candidate = Candidate.objects.get(id = self.kwargs['candidates_pk'])
KeyError: 'candidates_pk'
