Skip to main content

Add REST superpowers to your Jinja templates

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Flask-RestForms-0.1.2.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

Flask_RestForms-0.1.2-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page