A flask module to interact with Strapi CMS.
- removed null sessions,
strapi_session
will just returnNone
if a no strapi session exists. - Strapi.request can now be used outside of flask request contexts (as an unauthenticated request).
- Supports 'app logins' as opposed to 'per session (user)' logins. This allow the app to login and request content from strapi without any user sessions. Use
as_app_session = true
on authenticate and request to be able to issue request even without flask's request context (i.e., outside of a route).
Recommend to do this in a virtual environment!
pip install git+git://github.com/toranova/flask-strapi.git@master
pip install flask-strapi
runtest.sh
- Implement unit-testing