#NEWLINE# @ cached_property #NEWLINE# def object( self ) : #NEWLINE# #INDENT# slug = self . kwargs . get ( 'slug' , None ) #NEWLINE# if self : #NEWLINE# #INDENT# return get_object_or_404 ( self . model , slug = slug ) #NEWLINE# #UNINDENT# return None