Skip to content
Myr

Change to Pallets project

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* Update CHANGES * Update CONTRIBUTING.rst * Update setup.py * Update tox.ini * Update extensions.rst * Update security.rst * Update installation.rst * Update testing.rst * Update upgrading.rst * Update sidebarintro.html * Update jquery.rst * Update dbcon.rst * Update index.rst

authored by José Carlos García · committed by Markus Unterwaditzer · parent bd66710 · Browse files · 13 files+18 added−18 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

13 files+18 added−18 removed

  • other:+18 added−18 removed

13 files+18 added−18 removed

modified:docs/_templates/sidebarintro.html+2 added-2 removed
modified:docs/patterns/jquery.rst+1 added-1 removed
162 unmodified lines
163 we set earlier.164165If you don't get the whole picture, download the `sourcecode166for this example167<https://github.com/mitsuhiko/flask/tree/master/examples/jqueryexample>`_167<https://github.com/pallets/flask/tree/master/examples/jqueryexample>`_168from GitHub.
modified:docs/tutorial/dbcon.rst+1 added-1 removed
73 unmodified lines
74 into a single Python module. You don't have to, and if your app :ref:`grows75 larger <larger-applications>`, it's a good idea not to.7677.. _example source:78 https://github.com/mitsuhiko/flask/tree/master/examples/flaskr/78 https://github.com/pallets/flask/tree/master/examples/flaskr/
modified:docs/tutorial/index.rst+1 added-1 removed
13 unmodified lines
14If you want the full source code in advance or for comparison, check out15the `example source`_.1617.. _example source:18 https://github.com/mitsuhiko/flask/tree/master/examples/flaskr/18 https://github.com/pallets/flask/tree/master/examples/flaskr/1920.. toctree::21 :maxdepth: 222
10 unmodified lines
modified:docs/extensions.rst+1 added-1 removed
44 unmodified lines
45exist and you can start importing from there.464748.. _Flask Extension Registry: http://flask.pocoo.org/extensions/49.. _flaskext_compat.py: https://raw.githubusercontent.com/mitsuhiko/flask/master/scripts/flaskext_compat.py49.. _flaskext_compat.py: https://raw.githubusercontent.com/pallets/flask/master/scripts/flaskext_compat.py
modified:docs/installation.rst+1 added-1 removed
114 unmodified lines
115it to operate on a git checkout. Either way, virtualenv is recommended.116117Get the git checkout in a new virtualenv and run in development mode::118119 $ git clone http://github.com/mitsuhiko/flask.git119 $ git clone http://github.com/pallets/flask.git120 Initialized empty Git repository in ~/dev/flask/.git/121 $ cd flask122 $ virtualenv venv123 New python executable in venv/bin/python
53 unmodified lines
modified:docs/security.rst+1 added-1 removed
99 unmodified lines
100101ECMAScript 5 closed this vulnerability, so only extremely old browsers are102still vulnerable. All of these browsers have `other more serious103vulnerabilities104<https://github.com/mitsuhiko/flask/issues/248#issuecomment-59934857>`_, so104<https://github.com/pallets/flask/issues/248#issuecomment-59934857>`_, so105this behavior was changed and :func:`~flask.jsonify` now supports serializing106arrays.
modified:docs/testing.rst+2 added-2 removed
22 unmodified lines
23the :ref:`tutorial`. If you don't have that application yet, get the24sources from `the examples`_.2526.. _the examples:27 https://github.com/mitsuhiko/flask/tree/master/examples/flaskr/27 https://github.com/pallets/flask/tree/master/examples/flaskr/2829The Testing Skeleton30--------------------31
161 unmodified lines
193suite.194195196.. _MiniTwit Example:197 https://github.com/mitsuhiko/flask/tree/master/examples/minitwit/197 https://github.com/pallets/flask/tree/master/examples/minitwit/198199200Other Testing Tricks201--------------------
154 unmodified lines
modified:docs/upgrading.rst+1 added-1 removed
165 unmodified lines
166167To apply the upgrade script do the following:1681691. Download the script: `flask-07-upgrade.py170 <https://raw.githubusercontent.com/mitsuhiko/flask/master/scripts/flask-07-upgrade.py>`_170 <https://raw.githubusercontent.com/pallets/flask/master/scripts/flask-07-upgrade.py>`_1712. Run it in the directory of your application::172173 python flask-07-upgrade.py > patchfile.diff174
250 unmodified lines
modified:CHANGES+1 added-1 removed
58 unmodified lines
59 unnecessary white space included by default after separators.60- JSON responses are now terminated with a newline character, because it is a61 convention that UNIX text files end with a newline and some clients don't62 deal well when this newline is missing. See63 https://github.com/mitsuhiko/flask/pull/1262 -- this came up originally as a63 https://github.com/pallets/flask/pull/1262 -- this came up originally as a64 part of https://github.com/kennethreitz/httpbin/issues/16865- The automatically provided ``OPTIONS`` method is now correctly disabled if66 the user registered an overriding rule with the lowercase-version67 ``options`` (issue ``#1288``).
495 unmodified lines
modified:CONTRIBUTING.rst+1 added-1 removed
43 unmodified lines
44 pip install pytest4546Clone this repository::4748 git clone https://github.com/mitsuhiko/flask.git48 git clone https://github.com/pallets/flask.git4950Install Flask as an editable package using the current source::5152 cd flask
18 unmodified lines
modified:setup.py+2 added-2 removed
37 unmodified lines
3839* `website <http://flask.pocoo.org/>`_40* `documentation <http://flask.pocoo.org/docs/>`_41* `development version42 <http://github.com/mitsuhiko/flask/zipball/master#egg=Flask-dev>`_42 <http://github.com/pallets/flask/zipball/master#egg=Flask-dev>`_4344"""45import re46import ast
9 unmodified lines
5657setup(58 name='Flask',59 version=version,60 url='http://github.com/mitsuhiko/flask/',60 url='http://github.com/pallets/flask/',61 license='BSD',62 author='Armin Ronacher',63 author_email='armin.ronacher@active-4.com',64 description='A microframework based on Werkzeug, Jinja2 '
34 unmodified lines
modified:tox.ini+3 added-3 removed
13 unmodified lines
14 lowest: Jinja2==2.415 lowest: itsdangerous==0.2116 lowest: blinker==1.017 release: blinker18 devel: git+https://github.com/mitsuhiko/werkzeug.git19 devel: git+https://github.com/mitsuhiko/jinja2.git20 devel: git+https://github.com/mitsuhiko/itsdangerous.git18 devel: git+https://github.com/pallets/werkzeug.git19 devel: git+https://github.com/pallets/jinja.git20 devel: git+https://github.com/pallets/itsdangerous.git21 devel: git+https://github.com/jek/blinker.git2223[testenv:docs]24deps = sphinx
1 unmodified line