Alessandro Bruni
c64a0c74e3
Allow positional arguments to @login_required decorator in examples/tutorial/flaskr/auth.py
6 years ago
moyosore
673772cac9
Fixed typo in app.py
6 years ago
Grey Li
d7eea1b49a
Fix typo in issue template
6 years ago
David Lord
9a2e6ead00
Merge pull request #2914 from garenchan/docs
...
Reduce unnecessary function calls.
6 years ago
garenchan
aa7e15dcba
Reduce unnecessary function calls.
...
When propagate exceptions, the function call of "_find_error_handler"
makes no sense.
6 years ago
David Lord
0b7a74dda3
split code and output
6 years ago
Grey Li
393bd46085
Merge pull request #2916 from tombusby/patch-1
...
Make script output into comments to not break syntax highlighting
6 years ago
Tom Busby
eae6440605
Make script output into comments to not break syntax highlighting
...
http://flask.pocoo.org/docs/1.0/quickstart/#url-building
In the URL Building section of the quickstart, the script output is shown right after the code.
This breaks syntax highlighting for the whole code-block. To fix this, I have made the output into comments.
6 years ago
David Lord
c92001d2fb
Merge pull request #2915 from loomchild/master
...
fix @click.command example by adding parens
6 years ago
Jarek Lipski
47dadcfe15
fix @click.command example by adding parens
...
Otherwise the example fails with the following error:
"name = name or cmd.name AttributeError: 'function' object has no attribute 'name'".
More details: https://stackoverflow.com/a/51923415/4619705
6 years ago
David Lord
19a0a7d771
Merge pull request #2912 from pallets/docs-theme
...
Update Sphinx conf for recent theme changes
6 years ago
David Lord
0f4c9f1d57
reformat sphinx config
6 years ago
David Lord
ba868d681a
update sphinx config
6 years ago
David Lord
d493e3e083
Merge pull request #2910 from garenchan/docs
...
fix issue: no theme named 'flask' found
6 years ago
chengkang
067c772588
remove DocVersion related
6 years ago
chengkang
3e86fd25e9
fix issue: no theme named 'flask' found
6 years ago
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
Alexis Benoist
b9b88b0cdf
doc reqcontext fix teardown example ( #2892 )
...
* doc reqcontext fix teardown example
* remove comments
6 years ago
David Lord
7d9dcfa294
Merge pull request #2872 from cktan98/master
...
Fix grammatical error
7 years ago
cktan98
f45ceec31f
Fix grammatical error
7 years ago
David Lord
345685c014
Merge pull request #2861 from jwflory/fix/uwsgi-docs
...
[docs] Fix broken Sphinx cross-references; use :doc: tags where necessary
7 years ago
David Lord
93e4b714a1
Merge pull request #2870 from jerr0328/docs-update-cli-scriptinfo
...
📚 Improve docs about ScriptInfo
7 years ago
Jeremy Mayeres
c7791bb526
📚 Improve docs about ScriptInfo
...
Improve documentation for the CLI using application factories and
how/when the ScriptInfo object is passed with Application Discovery
7 years ago
Justin W. Flory
e771016a5b
Fix broken cross-references; use :doc: tags where necessary
7 years ago
Justin W. Flory
72dfb67828
Make explicit call-out to contributing guidelines in README
7 years ago
David Lord
06b189b6be
Merge pull request #2850 from billfienberg/patch-1
...
Fix grammatical error: incorrect verb conjugation
7 years ago
Bill Fienberg
15b2301754
Fix grammatical error: incorrect verb conjugation
...
Before: >However, as a project *get* bigger
After: >However, as a project *gets* bigger
7 years ago
David Lord
0bb25eb367
Merge pull request #2848 from gcrsaldanha/use-itervalues
...
🎨 Use `itervalues` instead of `iteritems` when `key` is not necessary
7 years ago
Gabriel Saldanha
d5c465ddf4
🎨 Use itervalues instead of iteritems
7 years ago
David Lord
b6edad64aa
Merge pull request #2843 from gcrsaldanha/use-set-literal-in-docs
...
🎨 Use set literal instead of set method in file uploading example
7 years ago
David Lord
81c2a1e475
Merge pull request #2842 from gcrsaldanha/task/remove-deprecated-code
...
🔥 Remove code supposed to be removed at v1.0
7 years ago
David Lord
f4b0f64482
Merge pull request #2839 from jlara310/master
...
Typo in docs
7 years ago
Juan Lara
bb63298b71
Typo in docs
...
"keeps track on" -> "keeps track of"
7 years ago
Gabriel Saldanha
c5af1be70f
🎨 Use set literal instead of set method
7 years ago
Gabriel Saldanha
d362399e7e
🔥 Remove code supposed to be removed at v1.0
7 years ago
David Lord
827536e20a
Merge pull request #2837 from quamilek/update-docs
...
Update docs - add command for listing rules.
7 years ago
Kamil Wargula
c92c1e93c7
Update docs - add command for listing rules.
7 years ago
David Lord
7627d9ce13
Merge pull request #2834 from greyli/remove-unnecessary-period
...
Remove unnecessary period in documentation
7 years ago
Grey Li
27e67dafc0
Remove unnecessary period in documentation
7 years ago
David Lord
0559f7c86b
Merge pull request #2828 from greyli/patch-9
...
Update cli tips for .flaskenv
7 years ago
Grey Li
f036308442
Add cli tips for .flaskenv
7 years ago
ThiefMaster
161c43649d
Merge branch '1.0-maintenance'
7 years ago
Adrian
1a9caedb49
Merge pull request #2765 from ThiefMaster/custom-cli-ignore-debug
...
Add option to not overwrite debug flag in cli
7 years ago
ThiefMaster
50227f0954
Add option to not overwrite debug flag in cli
...
This is mainly intended for custom CLIs that may load a config file
which already sets the debug flag and does not make use of the `FLASK_*`
env vars at all.
7 years ago
Hsiaoming Yang
b2ec6a33a2
Merge pull request #2827 from schafle/fix-2823
...
[Fixed 2823] Checking if .env is file before prompting to install dotenv
7 years ago
Suraj Chafle
076dddb2e1
Fixed 2823
7 years ago
Anthony Plunkett
673e5af658
Merge pull request #2826 from senarclens/master
...
add init-db call to flask tutorial's README.rst
7 years ago
Gerald Senarclens de Grancy
d0088e63d8
add init-db call to flask tutorial
...
otherwise the user is confronted with an unpleasant error
message when accessing the dev server the first time
7 years ago
Hsiaoming Yang
9c0e110e23
Merge pull request #2795 from dayiguizhen/master
...
Update CHANGES.rst
7 years ago
David Lord
b6a8f75c70
Merge pull request #2811 from greyli/test-routes-command-for-no-routes
...
Add test for routes command when no routes registered
7 years ago