Harry Moreno
2d2c0169d4
Fix docs, how to get db connection in pattern
...
The docs are inaccurately suggestion a db connection would be available at `g.db`, after calling `get_db()` a connection will be available at `g._database` but even then I think instructing the user to use `get_db()` is the best way forward.
7 years ago
Bogdan Alexandru Marginean
b89cf95816
Update appfactories.rst
7 years ago
Mrn Om
c352714478
Fix grammar/typos
7 years ago
David Lord
417bc336de
egg_info -R flag is gone
8 years ago
David Lord
8207b1563e
fix formatting
...
-R is no longer an egg_info option
closes #2400
[ci skip]
8 years ago
David Lord
465922e5f1
clean up secret key docs
...
consistent key across docs and examples
consistent key across tests, set in conftest
8 years ago
David Lord
d5a88bf0d3
explain when to use a task queue
...
remove deprecated abstract attr from celery
add explanation of example task
[ci skip]
8 years ago
David Lord
cc59f2b204
clean up deferred callback doc
...
remove doc about writing after_this_request
[ci skip]
8 years ago
David Lord
011a4b1899
clean up error handler docs
8 years ago
Benjamin Liebald
6032c94aeb
Mention existence of register_error_handler in errorpages.rst
...
See https://github.com/pallets/flask/issues/1837 for context.
8 years ago
ka7
e13eaeeaf2
Fix typo in docs ( #2237 )
8 years ago
Adam Geitgey
ae1ac2053b
Correct imports in file upload example ( #2230 )
...
The example code uses `flash` but doesn't import it. So the code as written doesn't work.
This simply adds `flash` to the list of imports in the sample code.
8 years ago
Ben
7a5e8ef38e
Fix broken link ( #2202 )
8 years ago
Static
f5adb61b28
Fix typos/grammar in docs ( #2201 )
8 years ago
Sebastian Kalinowski
fca5577a00
Remove extra HTML tag from fileupload docs ( #2141 )
8 years ago
Jeff Widman
bb0e755c80
Migrate various docs links to https ( #2180 )
...
Also fixed a few outdated links
8 years ago
wgwz
1b7258f816
Provides a link to the examples src
...
- moved the link towards the top for better visibility
8 years ago
wgwz
949771adf5
Add reference to largerapp src in docs
8 years ago
Gábor Lipták
079d752cec
Update Flask-SQLAlchemy link ( #2126 )
8 years ago
Sven-Hendrik Haase
ccb562854e
Remove wrong comma ( #2116 )
8 years ago
Shandy Brown
9685d14eaa
Correct grammar ( #2061 )
8 years ago
Geoffrey Bauduin
2b03eca1b7
Updated Celery pattern
...
The given pattern caused Celery to lose the current Context
8 years ago
Kyle Lawlor
59104db2f2
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
8 years ago
sanderl-mediamonks
3313b8b0a4
Use the correct Celery result backend setting
8 years ago
Ioan Vancea
55f9af72e3
Added a missing module to import statement
9 years ago
Shakib Hossain
fe53da45c5
Update allowed_file function in fileuploads.rst
...
Update allowed_file function to accept lowercase and uppercase file extensions
9 years ago
David Lord
1928f28a68
clean up code formatting in some docs
...
fix warnings while building docs
9 years ago
David Lord
cd1a9b7d54
remove unnecessary form action attributes
9 years ago
David Lord
d8c39f4b37
Revert "wtforms: Add missing closing tags in example ( #1917 )"
...
This reverts commit 146cba53e7
.
9 years ago
Baptiste Fontaine
146cba53e7
wtforms: Add missing closing tags in example ( #1917 )
9 years ago
dcfix
9f2b3d815e
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
9 years ago
Leo Tindall
c0087204e5
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.
9 years ago
David Lord
169a4e0c44
move note about next param, add example, other cleanup
9 years ago
Ping Hu
434c19933e
Add clarification for login_required decorator ref #313
9 years ago
David Lord
aa9a994946
use pip instead of setup.py in fabric command
9 years ago
David Lord
14a5a9e554
move setup.cfg info to setuptools docs, reword
9 years ago
Shawn McElroy
33212309a2
updating docs and showing how to use `setup.cfg` to configure dev builds with sdist
9 years ago
Anton Sarukhanov
447f591d2b
Rewrite subclassing example with a better use-case.
9 years ago
Anton Sarukhanov
63b5dab0fc
Add subclassing pattern/example to fix issue #221 .
9 years ago
Prachi Shirish Khadke
d9a98dd536
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
9 years ago
Adam Chainz
70de011d51
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.
9 years ago
Armin Ronacher
a7d829c618
Update docs to the new CLI patterns
9 years ago
Corey Goldberg
28b36f642d
removed references to easy_install
9 years ago
Corey Goldberg
1cc9ccfc67
update docs and refer to setuptools
9 years ago
Daniel Quinn
be2abd2926
Fix typo (thing --> things)
9 years ago
José Carlos García
567fff9d0d
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
9 years ago
bagratte
9a80fe691d
minor revision of documentation.
9 years ago
Gaëtan Petit
67e2127a5d
Update deprecated references
...
validators.Required() is marked as deprecated in favor of validators.DataRequired() and will be remove in WTForms 3.
9 years ago
Eric Dill
52daeffdc9
DOC: Remove gendered language
9 years ago
Dougal Matthews
25aab43f8e
Fixed a typo
...
I think 'app' is the intended word here, but I am not 100% sure.
9 years ago