#NEWLINE# def get_absolute_url( self ) : #NEWLINE# #INDENT# cms_page = self . cms_pages . order_by ( 'depth' ) . last ( ) #NEWLINE# if ( self is None ) : #NEWLINE# #INDENT# return urljoin ( 'category-not-assigned' , self . slug ) #NEWLINE# #UNINDENT# return urljoin ( cms_page . get_absolute_url ( ) , self . slug )