summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/gl_objects/variables.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/gl_objects/variables.rst b/docs/gl_objects/variables.rst
index e6ae4ba..f679925 100644
--- a/docs/gl_objects/variables.rst
+++ b/docs/gl_objects/variables.rst
@@ -93,6 +93,8 @@ Update a variable value::
var.value = 'new_value'
var.save()
+ # or
+ project.variables.update("key1", {"value": "new_value"})
Remove a variable::