Closed zbrook closed 7 years ago
The documentation is a little unclear. Flask-SQLAlchemy is not required to use Flask-Restless. Flask-Restless supports models defined via Flask-SQLAlchemy, but it requires only models defined via SQLAlchemy. I will update the documentation to be clearer about this.
Pull request #633 updates the documentation.
NB: this is easily worked around by forcing pip to install the more recent version of Flask-Restless, and then installing flask-sqlalchemy via pip afterward.
Not sure whether to say the documentation at readthedocs or the default version via pip is in error.
Used pip 9.0.1 with Python 3.4. I use pyenv, but reproduced on a machine with just python 2.7 installed and no pyenv.
http://flask-restless.readthedocs.io/en/stable/installation.html advises to install via pip, and the rest of the documentation assume beta v1, but pip installs 0.17.
https://pypi.python.org/pypi/Flask-Restless/ also refers to beta v1.
pip install -I flask_restless==1.0.0b1
worked, but still doesn't install dependency flask-sqlalchemy as advertised.P.S. Great project -- thank you for creating it.