Cannot filter on fields latitude and longitude from orm manager #9068

Closed
opened 2025-12-29 20:45:02 +01:00 by adam · 0 comments
Owner

Originally created by @tux-mania on GitHub (Jan 8, 2024).

Deployment Type

Self-hosted

NetBox Version

v3.6.4

Python Version

3.9

Steps to Reproduce

  1. Enter GPS Coordinates on one site (let's say site's ID is 2833) through the Web UI
  2. Connect to the shell with
python manage.py nbshell
  1. Select the site
>>> site = Site.objects.get(id=2833)
  1. Display latitude of this site
>>> site.latitude
>>>

Expected Behavior

The value from latitude field should be displayed.

Observed Behavior

Nothing is shown, as if value of this field was None.
Same results happened using pynetbox (that's why I tested directly through the manager on Netbox).

Originally created by @tux-mania on GitHub (Jan 8, 2024). ### Deployment Type Self-hosted ### NetBox Version v3.6.4 ### Python Version 3.9 ### Steps to Reproduce 1. Enter GPS Coordinates on one site (let's say site's ID is 2833) through the Web UI 2. Connect to the shell with ```python python manage.py nbshell ``` 3. Select the site ```python >>> site = Site.objects.get(id=2833) ``` 4. Display latitude of this site ```python >>> site.latitude >>> ``` ### Expected Behavior The value from latitude field should be displayed. ### Observed Behavior Nothing is shown, as if value of this field was None. Same results happened using pynetbox (that's why I tested directly through the manager on Netbox).
adam closed this issue 2025-12-29 20:45:02 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9068