Skip to main content
==========
Flask-Quik
==========

.. image:: https://travis-ci.org/avelino/Flask-Quik.png?branch=master
:target: https://travis-ci.org/avelino/Flask-Quik
:alt: Build Status - Travis CI

Provides support for Quik Templates in Flask - https://github.com/avelino/quik



Registration
============

Applications can be registered directly in the extension constructor::

from flask import Flask
from flask.ext.quik import FlaskQuik

app = Flask(__name__)
quik = FlaskQuik(app)



Rendering
=========

Rendering Quik templates sends the same :data:`~flask.template_rendered` signal
as Jinja2 templates. Additionally, Quik templates receive the same context as
Jinja2 templates. This allows you to use the same variables as you normally
would (``g``, ``session``, ``url_for``, etc)::

from flask.ext.quik import render_template

@app.route('/')
def hello_quik():
return render_template('hello.html', name='quik')

Download files

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

Source Distribution

Flask-Quik-0.1.1.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file Flask-Quik-0.1.1.tar.gz.

File metadata

  • Download URL: Flask-Quik-0.1.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Flask-Quik-0.1.1.tar.gz
Algorithm Hash digest
SHA256 92598612f2c99aa9de863522ed34f90e050490232c685f484a2225209aa7c64e
MD5 93babc89e1b0fc9a44062948fe2c81ac
BLAKE2b-256 69b1b709a1bb40ecf47b896c4d1f2dcdc0f711b8917e5524e3252d0971f23ff0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page