#NEWLINE# def get_object( self , bits ) : #NEWLINE# #INDENT# if ( len ( bits ) != 1 ) : #NEWLINE# #INDENT# raise ObjectDoesNotExist #NEWLINE# #UNINDENT# return Project . objects . get ( slug__exact = bits [ 0 ] )