@ -6,7 +6,7 @@
A microblog example application written as Flask tutorial with
Flask and sqlite3.
:copyright: (c) 2010 by Armin Ronacher.
:copyright: (c) 2014 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
@ -5,7 +5,7 @@
Tests the Flaskr application.
import os
A simple application that shows how Flask and jQuery get along.
from flask import Flask, jsonify, render_template, request
A microblogging application written with Flask and sqlite3.
Tests the MiniTwit application.
A microframework based on Werkzeug. It's extensively documented
and follows best practice patterns.
:copyright: (c) 2011 by Armin Ronacher.
@ -7,7 +7,7 @@
version of six so we don't have to depend on a specific version
of it.
:copyright: (c) 2013 by Armin Ronacher.
import sys
This module implements the central WSGI application object.
Blueprints are the recommended way to implement larger or more
pluggable applications in Flask 0.7 and later.
from functools import update_wrapper
Implements the configuration related objects.
Implements the objects required to keep the context.
Various helpers to make the development experience better.
1 :copyright: (c) 2014 by Armin Ronacher.
from ._compat import implements_to_string
@ -14,7 +14,7 @@
We're switching from namespace packages because it was just too painful for
everybody involved.
@ -16,7 +16,7 @@
This is used by `flask.ext`.
Defines all the global objects that are proxies to the current
active context.
Implements various helpers.
Implementation helpers for the JSON support in Flask.
:copyright: (c) 2012 by Armin Ronacher.
import io
Implements the logging support for Flask.
Implements a class that represents module blueprints.
Implements cookie based sessions based on itsdangerous.
Implements signals based on blinker if available, otherwise
falls silently back to a noop
signals_available = False
Implements the bridge to Jinja2.
import posixpath
Implements test support helpers. This module is lazily imported
and usually not used in production environments.
Tests Flask itself. The majority of Flask is already tested
as part of Werkzeug.
Tests the application context.
The basic functionality.
Blueprints (and currently modules)
Configuration and instances.
Tests deprecation support.
Tests the examples.
Tests the extension import thing.
Various helpers.
Tests regressions.
Tests the request context.
Signalling.
Test that certain behavior of flask can be customized by
subclasses.
import flask
Template functionality
Test client and more.
Pluggable views.
This module provides class-based views inspired by the ones in Django.
from .globals import request
Implements the WSGI wrappers (request and response).
the most common patterns at least. The diff it generates should be
hand reviewed and not applied blindly without making backups.
:copyright: (c) Copyright 2011 by Armin Ronacher.
:copyright: (c) Copyright 2014 by Armin Ronacher.
:license: see LICENSE for more details.
import re
@ -12,7 +12,7 @@
flaskext_compat.activate()
from flask.ext import foo
Tests the Flask extensions.
:copyright: (c) 2010 by Ali Afshar.
:copyright: (c) 2014 by Ali Afshar.
Helper script that performs a release. Does pretty much everything
automatically for us.