mrjoes/flask-admin — pull request #82 by techniq (2012-10-02 02:25:07+00:00)
Title: Fix sqlamodel.get_one() when using modified get_query()

Don't use `get_query()` within `get_one()` as SQLAlchemy `get()` can not have any additional filters applied to the Query.

Fixes error: `InvalidRequestError: Query.get() being called on a Query with existing criterion.`