def get_object(self):
dataframe = self.filter_dataframe(self.get_dataframe())<EOL>assert self.lookup_url_kwarg in self.kwargs, (<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>' %<EOL>(self.__class__.__name__, self.lookup_url_kwarg)<EOL>)<EOL>try:<EOL><INDENT>obj = self.index_row(dataframe)<EOL><DEDENT>except (IndexError, KeyError, ValueError):<EOL><INDENT>raise Http404<EOL><DEDENT>self.check_object_permissions(self.request, obj)<EOL>return obj<EOL>
Returns the row the view is displaying.

You may want to override this if you need to provide non-standard
queryset lookups.  Eg if objects are referenced using multiple
keyword arguments in the url conf.