summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-06-05 12:06:23 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-06-05 12:28:50 +0200
commit1d8c7529011448ae7d8cee5b7e9427faaf703e53 (patch)
treede295d55d564661f299d2f317bbbdae2ca154699
parentacd6d20eeb0428ddb97b87471dfc66e2fec6945f (diff)
views: enable mac update in /action/client/update
Allow MAC address modification in the client update form.
-rw-r--r--ogcp/views.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index dc8d3d0..fd4eb01 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -1272,7 +1272,6 @@ def action_client_update():
db_client = r.json()
- form.mac.render_kw = {'readonly': True}
form.server.data = "{0}:{1}".format(server.ip, server.port)
form.ip.data = db_client['ip']
form.ip.render_kw = {'readonly': True}