Don't deal with ids like `jobpost_id`. Because it's just a number, SQLAlchemy can't help you if you accidentally use the wrong value. Always deal with the actual objects. Expect `jobpost` instead of `jobpost_id` as a parameter and assign that to GeoJobView.