#NEWLINE# def save( self , * args , **kwargs ) : #NEWLINE# #INDENT# old_instance = None #NEWLINE# if self . pk : #NEWLINE# #INDENT# old_instance = self . __class__ . _default_manager . get ( pk = self . pk ) #NEWLINE# #UNINDENT# self . slug = slugify ( force_text ( self . name ) ) #NEWLINE# super ( AbstractForum , self ) . save ( * args , ** kwargs ) #NEWLINE# if ( old_instance and ( self . parent != self . parent ) ) : #NEWLINE# #INDENT# self . update_trackers ( ) #NEWLINE# if old_instance . parent : #NEWLINE# #INDENT# old_parent = old_instance . parent #NEWLINE# old_parent . refresh_from_db ( ) #NEWLINE# old_parent . update_trackers ( ) #NEWLINE# #UNINDENT# signals . forum_moved . send ( sender = self , previous_parent = old_instance . parent )