2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 19:46:46 +00:00

Update context_variables.md (#5580)

Fix typo "path_string" -> "pathstring"
This commit is contained in:
Oliver 2023-09-21 09:39:37 +10:00 committed by GitHub
parent 8432297d3c
commit 459d38cfc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -155,7 +155,7 @@ Each part object has access to a lot of context variables about the part. The fo
| owner | The owner of the location if it has one. The owner can only be assigned in the admin interface | | owner | The owner of the location if it has one. The owner can only be assigned in the admin interface |
| parent | The parent location. Returns None if it is already the top most one | | parent | The parent location. Returns None if it is already the top most one |
| path | A queryset of locations that contains the hierarchy starting from the top most parent | | path | A queryset of locations that contains the hierarchy starting from the top most parent |
| path_string | A string that contains all names of the path separated by slashes e.g. A/B/C | | pathsstring | A string that contains all names of the path separated by slashes e.g. A/B/C |
| structural | True if the location is structural | | structural | True if the location is structural |
### Suppliers ### Suppliers