+some flask-admin helpers