This commit is contained in:
Takeus committed 2025-03-31 14:49:12 +02:00
1 parent eaa6499bd0
commit 88c26c931c
1 file changed
+1
+1
View File
@@ -161,6 +161,7 @@ def allocation_delete(net_id,ipv4):
db_alloc.description = None db_alloc.description = None
db_alloc.is_dhcp = False db_alloc.is_dhcp = False
db_alloc.is_gateway = False db_alloc.is_gateway = False
db_alloc.is_decom = False
db.session.commit() db.session.commit()
flash("Allocation Removed", 'warning') flash("Allocation Removed", 'warning')
return redirect(url_for('network.allocations',net_id=net_id,page=request.args.get('page', type=int))) return redirect(url_for('network.allocations',net_id=net_id,page=request.args.get('page', type=int)))