Fixed typo and added AUTHORS file and license text to docs.
This commit is contained in:
parent
715f64d2af
commit
3a1e518657
5 changed files with 47 additions and 11 deletions
13
AUTHORS
Normal file
13
AUTHORS
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
Flask is written and maintained by Armin Ronacher and
|
||||||
|
various contributors:
|
||||||
|
|
||||||
|
Development Lead
|
||||||
|
````````````````
|
||||||
|
|
||||||
|
- Armin Ronacher <armin.ronacher@active-4.com>
|
||||||
|
|
||||||
|
Patches and Suggestions
|
||||||
|
```````````````````````
|
||||||
|
|
||||||
|
- Chris Edgemon
|
||||||
|
- Chris Grindstaff
|
||||||
21
LICENSE
21
LICENSE
|
|
@ -1,4 +1,5 @@
|
||||||
Copyright (c) 2010 by Armin Ronacher.
|
Copyright (c) 2010 by Armin Ronacher and contributors. See AUTHORS
|
||||||
|
for more details.
|
||||||
|
|
||||||
Some rights reserved.
|
Some rights reserved.
|
||||||
|
|
||||||
|
|
@ -6,17 +7,17 @@ Redistribution and use in source and binary forms, with or without
|
||||||
modification, are permitted provided that the following conditions are
|
modification, are permitted provided that the following conditions are
|
||||||
met:
|
met:
|
||||||
|
|
||||||
* Redistributions of source code must retain the above copyright
|
* Redistributions of source code must retain the above copyright
|
||||||
notice, this list of conditions and the following disclaimer.
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
|
||||||
* Redistributions in binary form must reproduce the above
|
* Redistributions in binary form must reproduce the above
|
||||||
copyright notice, this list of conditions and the following
|
copyright notice, this list of conditions and the following
|
||||||
disclaimer in the documentation and/or other materials provided
|
disclaimer in the documentation and/or other materials provided
|
||||||
with the distribution.
|
with the distribution.
|
||||||
|
|
||||||
* The names of the contributors may not be used to endorse or
|
* The names of the contributors may not be used to endorse or
|
||||||
promote products derived from this software without specific
|
promote products derived from this software without specific
|
||||||
prior written permission.
|
prior written permission.
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,7 @@ web development.
|
||||||
deploying/index
|
deploying/index
|
||||||
becomingbig
|
becomingbig
|
||||||
design
|
design
|
||||||
|
license
|
||||||
|
|
||||||
Reference
|
Reference
|
||||||
---------
|
---------
|
||||||
|
|
|
||||||
21
docs/license.rst
Normal file
21
docs/license.rst
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
License
|
||||||
|
=======
|
||||||
|
|
||||||
|
Flask is licensed under a three clause `BSD License`_. It basically
|
||||||
|
means: do whatever you want with it as long as the copyright in Flask
|
||||||
|
sticks around, the conditions are not modified and the disclaimer is
|
||||||
|
present. Furthermore you must not use the names of the authors to promote
|
||||||
|
derivates of the software without written consent.
|
||||||
|
|
||||||
|
.. _BSD License:
|
||||||
|
http://en.wikipedia.org/wiki/BSD_licenses#3-clause_license_.28.22New_BSD_License.22.29
|
||||||
|
|
||||||
|
Authors
|
||||||
|
-------
|
||||||
|
|
||||||
|
.. include:: ../AUTHORS
|
||||||
|
|
||||||
|
License Text
|
||||||
|
------------
|
||||||
|
|
||||||
|
.. include:: ../LICENSE
|
||||||
2
flask.py
2
flask.py
|
|
@ -358,7 +358,7 @@ class Flask(object):
|
||||||
self.before_request_funcs = []
|
self.before_request_funcs = []
|
||||||
|
|
||||||
#: a list of functions that are called at the end of the
|
#: a list of functions that are called at the end of the
|
||||||
#: request. Tha function is passed the current response
|
#: request. The function is passed the current response
|
||||||
#: object and modify it in place or replace it.
|
#: object and modify it in place or replace it.
|
||||||
#: To register a function here use the :meth:`after_request`
|
#: To register a function here use the :meth:`after_request`
|
||||||
#: decorator.
|
#: decorator.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue