Commit graph

265 commits

Author SHA1 Message Date
wgwz
6cf3aa2973 Provides a link to the examples src
- moved the link towards the top for better visibility
2016-12-31 18:51:00 -05:00
wgwz
767779920b Add reference to largerapp src in docs 2016-12-30 13:42:14 -05:00
Gábor Lipták
d907eda370 Update Flask-SQLAlchemy link (#2126) 2016-12-28 16:11:33 +01:00
Sven-Hendrik Haase
5d4e95735e Remove wrong comma (#2116) 2016-12-19 05:37:34 -08:00
Shandy Brown
816939e907 Correct grammar (#2061) 2016-11-01 18:52:54 -07:00
Markus Unterwaditzer
7b86b527c7 Merge branch '0.11-maintenance' 2016-09-11 17:55:33 +02:00
Kyle Lawlor
f484a724a4 Address #1980 (#2021)
* Distinguish between directories and files

* Convert larger apps to make use of setup.py

- replaces runserver.py with setup.py
- example now runs with recommended structure

* Fixes a typo and formats the added paragraph
2016-09-11 17:53:35 +02:00
sanderl-mediamonks
5b867d25aa Use the correct Celery result backend setting 2016-08-22 11:49:52 +02:00
Shakib Hossain
4151970cee Update allowed_file function in fileuploads.rst
Update allowed_file function to accept lowercase and uppercase file extensions
2016-07-16 21:59:44 +06:00
David Lord
d775103a03 clean up code formatting in some docs
fix warnings while building docs
2016-06-26 13:03:29 -07:00
David Lord
77cfb9b226 remove unnecessary form action attributes 2016-06-22 15:01:41 -07:00
David Lord
e924bd3458 Revert "wtforms: Add missing closing tags in example (#1917)"
This reverts commit 146cba53e7.
2016-06-22 14:53:27 -07:00
Baptiste Fontaine
8e8e111e42 wtforms: Add missing closing tags in example (#1917) 2016-06-19 13:27:23 -07:00
dcfix
2b0f3c2fea Demonstrate how to add multiple urls to the same function endpoint #981 (#1900)
* Demonstrate how to add multiple urls to the same function endpoint

* Removed text as per untitaker, fixed spacing to be pep-8 compliant
2016-06-16 22:40:23 +02:00
Leo Tindall
0598d344a7 Documentation: Clarify instructions about changing row_factory for SQLite3 (#1573)
* Clarify instructions about changing row_factory

When I was working through the tutorial, this was very confusing to me; so, I've added the code and clarification that would have helped me get through it faster.

* Clarify the nature of Row objects

* Rewrite code example for further clarity.
2016-06-14 23:55:47 -07:00
David Lord
fda1effc4b move note about next param, add example, other cleanup 2016-06-05 14:21:17 -07:00
Ping Hu
7e5c3249be Add clarification for login_required decorator ref #313 2016-06-05 13:22:19 -07:00
David Lord
02fcbce94c use pip instead of setup.py in fabric command 2016-06-05 13:12:25 -07:00
David Lord
1f3a79be17 move setup.cfg info to setuptools docs, reword 2016-06-05 12:59:04 -07:00
Shawn McElroy
cbe6c91915 updating docs and showing how to use setup.cfg to configure dev builds with sdist 2016-06-05 12:50:44 -07:00
Markus Unterwaditzer
f3879b61ee Merge pull request #1868 from antsar/master
Rewrite subclassing example with a better use-case.
2016-06-03 14:55:33 +02:00
Anton Sarukhanov
3caef65de8 Rewrite subclassing example with a better use-case. 2016-06-02 15:34:56 -07:00
Jeff Widman
7f94f41750 Merge pull request #1862 from antsar/master
Add subclassing pattern/example
2016-06-02 14:32:24 -07:00
Anton Sarukhanov
d9f57d67b3 Add subclassing pattern/example to fix issue #221. 2016-06-02 14:17:42 -07:00
Prachi Shirish Khadke
a81dfe818e Document flash message size limit
Reason: Messages of size 68,493 - 91,326 characters cause flash to fail silently.
Session cookies cannot have such large messages.

Issue: pallets/flask#1789
2016-06-02 11:59:04 -07:00
Adam Chainz
fdb0ae918f Convert readthedocs link for their .org -> .io migration for hosted projects (#1827)
As per their email ‘Changes to project subdomains’:

> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.

Test Plan: Manually visited all the links I’ve modified.
2016-05-29 15:49:38 +02:00
Armin Ronacher
4cb36cbafc Update docs to the new CLI patterns 2016-05-26 20:45:50 +02:00
Corey Goldberg
e5ad984704 removed references to easy_install 2016-05-04 21:14:25 -04:00
Corey Goldberg
8a03610ca3 update docs and refer to setuptools 2016-05-03 11:55:36 -04:00
Daniel Quinn
7d273da3f5 Fix typo (thing --> things) 2016-04-11 14:57:04 +02:00
José Carlos García
fcb3c0a4fe Change to Pallets project
* 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
2016-04-03 23:11:38 +02:00
bagratte
de4e0a553c minor revision of documentation. 2016-04-01 23:12:25 +02:00
Gaëtan Petit
a08c29f34b Update deprecated references
validators.Required() is marked as deprecated in favor of validators.DataRequired() and will be remove in WTForms 3.
2016-03-08 10:05:20 +01:00
Eric Dill
f248206c52 DOC: Remove gendered language 2016-02-09 14:24:09 -05:00
Kenneth Reitz
04a069aad8 Merge pull request #1588 from Akasurde/i_1465
Updated documentation for Setuptools
2016-01-26 20:40:26 -05:00
Dougal Matthews
f8f7ad95d0 Fixed a typo
I think 'app' is the intended word here, but I am not 100% sure.
2015-12-03 09:51:24 +00:00
lord63
251af9ba12 Render the code block in mongokit.rst 2015-11-22 14:43:25 +08:00
Abhijeet Kasurde
e84b6bc578 Merge branch 'master' of https://github.com/mitsuhiko/flask
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2015-11-01 09:34:11 +05:30
Abhijeet Kasurde
730fcc6cb4 Updated documentation for Setuptools
Updated documentation by removing references of distribute and adding
references of setuptools.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2015-10-20 14:40:55 +05:30
msiyaj
bd44c8413f Missing apostophe. 2015-08-27 00:27:44 -04:00
Zev Averbach
8775edc88f fixed some punctuation, fixed a few errors, in service of readability 2015-06-26 08:41:56 -04:00
Markus Unterwaditzer
0f1970f55d Point to stable version of Celery 2015-06-08 15:18:34 +02:00
Markus Unterwaditzer
f5cff2fa3f Merge branch 'AndrewBMartin-patch-1' 2015-06-06 03:35:22 +02:00
Andrew
2a9385d8c3 Include backend argument when instantiating Celery
Not including the backend argument can lead to AttributeError:
DisabledBackend object has no attribute for '_get_task_meta_for'.

See e.g.
http://stackoverflow.com/questions/23215311/celery-with-rabbitmq-attributeerror-disabledbackend-object-has-no-attribute.

At the same time, including the backend argument doesn't seem to harm anything else.
2015-06-06 03:35:04 +02:00
Alex Chan
f4a53e97ea Fix a few spelling mistakes in the docs 2015-04-03 20:43:40 +01:00
Torstein Krause Johansen
aecb94415d Moved noted about HTTP 500 before the code examples
- as suggested by @keyan
2015-03-31 19:16:33 +02:00
Torstein Krause Johansen
b63389da16 Added note that @errorhandler(500) isn't triggered in debug mode 2015-03-31 17:35:29 +02:00
Caleb Bron
7d19de620d link to sqlalchemy declarative has changed 2015-03-12 10:26:06 -07:00
Markus Unterwaditzer
b945038f3a Merge pull request #1354 from idrisr/master
improve grammar, make format consistent, and improve readability
2015-03-05 21:55:08 +01:00
Markus Unterwaditzer
7f31742059 Restructure Upload Progress Bars
- Removed dropzone.js, it hasn't been around long enough, maybe we need
  to update this in two years again.
- jQuery should be a proper rst link.
2015-03-04 18:43:59 +01:00