Skip to content

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

Discussion options

You must be logged in to vote

This works fine for me.

>>> site = Site.objects.get(pk=2)
>>> site.latitude
Decimal('12.345000')

The only reason you would see anything returned accessing the latitude attribute is that no value is set on the object.

Are you sure you're connected to the same NetBox instance/database as the UI?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tux-mania
Comment options

Answer selected by tux-mania
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #14741 on January 08, 2024 17:29.