docs: Recommend to set custom field coordinates to hidden (#180)

Changing the coordinates manually would be very tedious. Users are not
expected to do this and to prevent them from coming up with this idea in
the first place, set the custom field to hidden.
This commit is contained in:
Robin Schneider
2022-11-03 13:42:51 +01:00
committed by GitHub
parent 94f5314649
commit 5c87694b87
+2 -2
View File
@@ -54,9 +54,9 @@ python3 manage.py collectstatic --no-input
There is also support for custom fields.
If you create a custom field "coordinates" for "dcim > device" and "Circuits > circuit" with type "text" and name "coordinates" you will see the same layout every time.
If you create a custom field "coordinates" for "dcim > device" and "Circuits > circuit" with type "text" and name "coordinates" you will see the same layout every time. It is recommended to set this field to "UI visibility" "Hidden" and let the plugin manage it in the background.
The coordinates can then be provided as: "X;Y".
The coordinates are stored as: "X;Y".
Please read the "Configure" chapter to set the `allow_coordinates_saving` option to True.
You might also set the `always_save_coordinates` option to True.