return super(PictureImportForm, self).clean()
def save(self, commit=True, **kwargs):
- return Picture.from_xml_file(self.cleaned_data['picture_xml_file'], image_file=self.cleaned_data['picture_image_file'],
- overwrite=True, **kwargs)
+ return Picture.from_xml_file(
+ self.cleaned_data['picture_xml_file'], image_file=self.cleaned_data['picture_image_file'],
+ overwrite=True, **kwargs)