Flask-RestForms

Add REST superpowers to your Jinja templates


Keywords
FLASK, JINJA, REST, MPA
License
MIT
Install
pip install Flask-RestForms==0.1.2

Documentation

Flask REST Forms

PyPI version

Flask REST Forms provides a transparent interface for adding REST-like forms to your Jinja templates.

<form method="DELETE" action="/resource/{{ id }}">
    ...
</form>

Installation

Install the extension with pip:

$ pip install -U Flask-RestForms

Usage

Once installed, the extension just has to be loaded after the application is created:

import flask
from flask_restforms import FlasRestForms

app = flask.Flask(__name__)
flask_restforms = FlaskRestForms(app)