drop pdbs
This commit is contained in:
parent
31b1806912
commit
2fde6e5cf5
|
@ -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
|
||||||
|
|
||||||
|
|
Reference in New Issue