No description
Find a file
jab 00d6e339ec Change Flask.__init__ to accept two new keyword arguments, host_matching and static_host. (#1560)
This enables host_matching to be set properly by the time the constructor adds
the static route, and enables the static route to be properly associated with
the required host.

Previously, you could only enable host_matching once your app was already
instantiated (e.g. app.url_map.host_matching = True), but at that point
the constructor would have already added the static route without host matching
and an associated host, leaving the static route in a broken state.

Fixes #1559.
2017-04-07 16:31:54 +02:00
.github Improve GitHub issue template 2016-06-02 23:27:41 +02:00
artwork Added lineart logo 2015-10-01 13:58:48 +02:00
docs Add example for virtualenv integration in cli docs (#2234) 2017-04-07 07:10:43 -07:00
examples Migrate various docs links to https (#2180) 2017-02-11 10:43:11 +01:00
flask Change Flask.__init__ to accept two new keyword arguments, host_matching and static_host. (#1560) 2017-04-07 16:31:54 +02:00
scripts Fix typos/grammar in docs (#2201) 2017-03-06 14:05:59 +01:00
tests Change Flask.__init__ to accept two new keyword arguments, host_matching and static_host. (#1560) 2017-04-07 16:31:54 +02:00
.gitattributes Set merge strategy for CHANGES 2016-09-12 21:55:17 +03:00
.gitignore Adding coverage generation to tox (#2071) 2016-10-31 23:10:27 +01:00
.gitmodules use https instead of git protocol 2015-12-03 16:50:16 -08:00
.travis.yml Added python3.6 support for tests 2017-01-10 11:20:53 -06:00
AUTHORS Change Flask.__init__ to accept two new keyword arguments, host_matching and static_host. (#1560) 2017-04-07 16:31:54 +02:00
CHANGES Change Flask.__init__ to accept two new keyword arguments, host_matching and static_host. (#1560) 2017-04-07 16:31:54 +02:00
CONTRIBUTING.rst Migrate various docs links to https (#2180) 2017-02-11 10:43:11 +01:00
LICENSE Happy New Year 2015 2015-01-02 11:35:00 +09:00
Makefile Use tox from make test 2016-11-02 17:56:59 +01:00
MANIFEST.in Update MANIFEST.in with simpler template commands 2016-02-19 08:23:28 -05:00
README py.test => pytest (#2173) 2017-02-09 18:34:16 +01:00
setup.cfg bdist_wheel replaces wheel (#2179) 2017-02-10 12:19:59 +01:00
setup.py Migrate various docs links to https (#2180) 2017-02-11 10:43:11 +01:00
test-requirements.txt Use tox from make test 2016-11-02 17:56:59 +01:00
tox.ini py.test => pytest (#2173) 2017-02-09 18:34:16 +01:00


                          // Flask //

              web development, one drop at a time


    ~ What is Flask?

      Flask is a microframework for Python based on Werkzeug
      and Jinja2.  It's intended for getting started very quickly
      and was developed with best intentions in mind.

    ~ Is it ready?

      It's still not 1.0 but it's shaping up nicely and is
      already widely used.  Consider the API to slightly
      improve over time but we don't plan on breaking it.

    ~ What do I need?

      All dependencies are installed by using `pip install Flask`.
      We encourage you to use a virtualenv. Check the docs for
      complete installation and usage instructions.

    ~ Where are the docs?

      Go to http://flask.pocoo.org/docs/ for a prebuilt version
      of the current documentation.  Otherwise build them yourself
      from the sphinx sources in the docs folder.

    ~ Where are the tests?

      Good that you're asking.  The tests are in the
      tests/ folder.  To run the tests use the
      `pytest` testing tool:

        $ pytest

      Details on contributing can be found in CONTRIBUTING.rst

    ~ Where can I get help?

      Either use the #pocoo IRC channel on irc.freenode.net or
      ask on the mailinglist: http://flask.pocoo.org/mailinglist/

      See http://flask.pocoo.org/community/ for more resources.