#NEWLINE# def save_new( self , form , commit = True ) : #NEWLINE# #INDENT# '\n        Saves and returns a new model instance for the given form (single row\n        from inline formset).\n\n        Comparing to orignal `save_new`, this method saves new instance and\n        add it to m2m relation.\n        ' #NEWLINE# obj = super ( ) . save_new ( form , commit ) #NEWLINE# getattr ( obj , self . m2m . attname ) . add ( self . instance ) #NEWLINE# return obj