drop pdbs

This commit is contained in:
Cayo Puigdefabregas 2022-01-21 11:30:17 +01:00
parent 31b1806912
commit 2fde6e5cf5

View file

@ -295,7 +295,7 @@ class NewDeviceForm(FlaskForm):
self.instance = self.devices[self.type.data]() self.instance = self.devices[self.type.data]()
self.populate_obj(self.instance) self.populate_obj(self.instance)
db.session.add(self.instance) db.session.add(self.instance)
import pdb; pdb.set_trace() # import pdb; pdb.set_trace()
db.session.commit() db.session.commit()
return self.instance return self.instance