Happy New Year 2015
@ -1,4 +1,4 @@
Copyright (c) 2014 by Armin Ronacher and contributors. See AUTHORS
Copyright (c) 2015 by Armin Ronacher and contributors. See AUTHORS
for more details.
Some rights reserved.
@ -43,7 +43,7 @@ master_doc = 'index'
# General information about the project.
project = u'Flask'
copyright = u'2014, Armin Ronacher'
copyright = u'2015, Armin Ronacher'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@ -6,7 +6,7 @@
A microblog example application written as Flask tutorial with
Flask and sqlite3.
:copyright: (c) 2014 by Armin Ronacher.
:copyright: (c) 2015 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
@ -5,7 +5,7 @@
Tests the Flaskr application.
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.
import os
A microframework based on Werkzeug. It's extensively documented
and follows best practice patterns.
Alias for flask.run for the command line.
@ -7,7 +7,7 @@
version of six so we don't have to depend on a specific version
of it.
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
A simple command line application to run flask apps.
Implements the configuration related objects.
Implements the objects required to keep the context.
Various helpers to make the development experience better.
from ._compat import implements_to_string, text_type
@ -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.
import io
Implements the logging support for Flask.
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.
from jinja2 import BaseLoader, Environment as BaseEnvironment, \
Implements test support helpers. This module is lazily imported
and usually not used in production environments.
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 2014 by Armin Ronacher.
:copyright: (c) Copyright 2015 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) 2014 by Ali Afshar.
:copyright: (c) 2015 by Ali Afshar.
Helper script that performs a release. Does pretty much everything
automatically for us.
@ -3,7 +3,7 @@
tests.conftest
~~~~~~~~~~~~~~
:copyright: (c) 2014 by the Flask Team, see AUTHORS for more details.
:copyright: (c) 2015 by the Flask Team, see AUTHORS for more details.
import flask
Tests the application context.
The basic functionality.
Blueprints (and currently modules)
tests.test_config
~~~~~~~~~~~~~~~~~
Tests deprecation support. Not used currently.
Tests the extension import thing.
Various helpers.
tests.test_instance
~~~~~~~~~~~~~~~~~~~
Tests regressions.
Tests the request context.
Signalling.
Test that certain behavior of flask can be customized by
subclasses.
Template functionality
Test client and more.
import pytest
Pluggable views.