added get_queryset method to select related for a single object and
pep8 updates