Browse Source

Touch up docs according to user feedback.

pull/233/merge
Ron DuPlain 14 years ago
parent
commit
ea77d5e12d
  1. 4
      docs/quickstart.rst
  2. 4
      flask/config.py

4
docs/quickstart.rst

@ -115,8 +115,8 @@ Screenshot of the debugger in action:
.. admonition:: Working With Other Debuggers
Some third-party debuggers, e.g. PyDev and IntelliJ, are interrupted when
``app`` reloads. To use these debuggers, set ``app.debug = False``.
Debuggers interfere with each other. If you are using another debugger
(e.g. PyDev or IntelliJ), you may need to set ``app.debug = False``.
Routing

4
flask/config.py

@ -141,8 +141,8 @@ class Config(dict):
Objects are usually either modules or classes.
Just the uppercase variables in that object are stored in the config
after lowercasing. Example usage::
Just the uppercase variables in that object are stored in the config.
Example usage::
app.config.from_object('yourapplication.default_config')
from yourapplication import default_config

Loading…
Cancel
Save