Grey Li
21b0aa6dd8
Add prefix for all commands in documentation ( #2877 )
...
* Add prefix for commands in docs
* Add prefix for commands in example's README
6 years ago
Gabriel Saldanha
c5af1be70f
🎨 Use set literal instead of set method
7 years ago
Yao Long
9b6878af5a
document error on fileupload
...
after file uploaded, it should redirect for uploaded_file page instead
of upload page
7 years ago
David Lord
679bf0014f
use theme provided by pallets-sphinx-themes
7 years ago
David Lord
49a38ed999
use theme provided by pallets-sphinx-themes
7 years ago
David Lord
1e84c67beb
clean up js example
7 years ago
David Lord
fce1885f76
add javascript ajax example
7 years ago
Grey Li
2f9be68a81
Add tips for 413 connection reset issue
7 years ago
David Lord
c3dd7b8e4c
rewrite tutorial docs and example
7 years ago
Nickatak
a9646716d2
Fix typo in example.
7 years ago
Armin Ronacher
2433522d29
Add Support for FLASK_ENV ( #2570 )
...
This introduces environments to Flask
7 years ago
Grey Li
94fd3edf31
Docs: Update CLI for factory pattern
7 years ago
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