mirror of https://github.com/pallets/flask.git
Happy New Year 2015
This commit is contained in:
parent
4fde65eb7a
commit
33534bb4a9
2
LICENSE
2
LICENSE
|
@ -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.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
A simple application that shows how Flask and jQuery get along.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
from flask import Flask, jsonify, render_template, request
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
A microblogging application written 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 MiniTwit application.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
import os
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
A microframework based on Werkzeug. It's extensively documented
|
||||
and follows best practice patterns.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Alias for flask.run for the command line.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
version of six so we don't have to depend on a specific version
|
||||
of it.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
import sys
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
This module implements the central WSGI application object.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
Blueprints are the recommended way to implement larger or more
|
||||
pluggable applications in Flask 0.7 and later.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
from functools import update_wrapper
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
A simple command line application to run flask apps.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Implements the configuration related objects.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Implements the objects required to keep the context.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Various helpers to make the development experience better.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
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.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
This is used by `flask.ext`.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
import sys
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
Defines all the global objects that are proxies to the current
|
||||
active context.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Implements various helpers.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Implementation helpers for the JSON support in Flask.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
import io
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Implements the logging support for Flask.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Implements cookie based sessions based on itsdangerous.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
Implements signals based on blinker if available, otherwise
|
||||
falls silently back to a noop.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
signals_available = False
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Implements the bridge to Jinja2.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
from jinja2 import BaseLoader, Environment as BaseEnvironment, \
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
Implements test support helpers. This module is lazily imported
|
||||
and usually not used in production environments.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
This module provides class-based views inspired by the ones in Django.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
from .globals import request
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Implements the WSGI wrappers (request and response).
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
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
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
import sys
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Tests the Flask extensions.
|
||||
|
||||
:copyright: (c) 2014 by Ali Afshar.
|
||||
:copyright: (c) 2015 by Ali Afshar.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
Helper script that performs a release. Does pretty much everything
|
||||
automatically for us.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
import sys
|
||||
|
|
|
@ -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.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
import flask
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Tests the application context.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
The basic functionality.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Blueprints (and currently modules)
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
tests.test_config
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
:copyright: (c) 2014 by the Flask Team, see AUTHORS for more details.
|
||||
:copyright: (c) 2015 by the Flask Team, see AUTHORS for more details.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Tests deprecation support. Not used currently.
|
||||
|
||||
: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 extension import thing.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Various helpers.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
tests.test_instance
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
:copyright: (c) 2014 by the Flask Team, see AUTHORS for more details.
|
||||
:copyright: (c) 2015 by the Flask Team, see AUTHORS for more details.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
import os
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Tests regressions.
|
||||
|
||||
: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 request context.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Signalling.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
Test that certain behavior of flask can be customized by
|
||||
subclasses.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
import flask
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Template functionality
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Test client and more.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
import pytest
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Pluggable views.
|
||||
|
||||
:copyright: (c) 2014 by Armin Ronacher.
|
||||
:copyright: (c) 2015 by Armin Ronacher.
|
||||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
|
|
Loading…
Reference in New Issue