code: def clean(self):
          
          super(LineFormSet, self).clean()
  
          if any(self.errors):
              # Already seen errors, let's skip.
              return
  
          self.clean_unique_fields()
docs: Global cleanup.