forked from orbit-oss/flask
Update doclinks
Fix redirects and broken links
This commit is contained in:
parent
577581665c
commit
22219f51e5
18 changed files with 48 additions and 48 deletions
|
|
@ -27,7 +27,7 @@ cache that keeps the item stored in the memory of the Python interpreter::
|
|||
cache = SimpleCache()
|
||||
|
||||
If you want to use memcached, make sure to have one of the memcache modules
|
||||
supported (you get them from `PyPI <https://pypi.python.org/>`_) and a
|
||||
supported (you get them from `PyPI <https://pypi.python.org/pypi>`_) and a
|
||||
memcached server running somewhere. This is how you connect to such an
|
||||
memcached server then::
|
||||
|
||||
|
|
@ -44,7 +44,7 @@ Using a Cache
|
|||
-------------
|
||||
|
||||
Now how can one use such a cache? There are two very important
|
||||
operations: :meth:`~werkzeug.contrib.cache.BaseCache.get` and
|
||||
operations: :meth:`~werkzeug.contrib.cache.BaseCache.get` and
|
||||
:meth:`~werkzeug.contrib.cache.BaseCache.set`. This is how to use them:
|
||||
|
||||
To get an item from the cache call
|
||||
|
|
|
|||
|
|
@ -186,11 +186,11 @@ deployment actually fun:
|
|||
out the latest version on the server and then install. That way you
|
||||
can also easily go back to older versions.
|
||||
- hook in testing functionality so that you can deploy to an external
|
||||
server and run the testsuite.
|
||||
server and run the testsuite.
|
||||
|
||||
Working with Fabric is fun and you will notice that it's quite magical to
|
||||
type ``fab deploy`` and see your application being deployed automatically
|
||||
to one or more remote servers.
|
||||
|
||||
|
||||
.. _Fabric: http://fabfile.org/
|
||||
.. _Fabric: http://www.fabfile.org/
|
||||
|
|
|
|||
|
|
@ -164,5 +164,5 @@ explanation of the little bit of code above:
|
|||
|
||||
If you don't get the whole picture, download the `sourcecode
|
||||
for this example
|
||||
<http://github.com/mitsuhiko/flask/tree/master/examples/jqueryexample>`_
|
||||
<https://github.com/mitsuhiko/flask/tree/master/examples/jqueryexample>`_
|
||||
from github.
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ Querying is simple as well:
|
|||
|
||||
.. _SQLAlchemy: http://www.sqlalchemy.org/
|
||||
.. _declarative:
|
||||
http://www.sqlalchemy.org/docs/orm/extensions/declarative.html
|
||||
http://docs.sqlalchemy.org/en/latest/orm/extensions/declarative.html
|
||||
|
||||
Manual Object Relational Mapping
|
||||
--------------------------------
|
||||
|
|
@ -186,7 +186,7 @@ Then you can either declare the tables in your code like in the examples
|
|||
above, or automatically load them::
|
||||
|
||||
from sqlalchemy import Table
|
||||
|
||||
|
||||
users = Table('users', metadata, autoload=True)
|
||||
|
||||
To insert data you can use the `insert` method. We have to get a
|
||||
|
|
@ -215,4 +215,4 @@ You can also pass strings of SQL statements to the
|
|||
(1, u'admin', u'admin@localhost')
|
||||
|
||||
For more information about SQLAlchemy, head over to the
|
||||
`website <http://sqlalchemy.org/>`_.
|
||||
`website <http://www.sqlalchemy.org/>`_.
|
||||
|
|
|
|||
|
|
@ -122,5 +122,5 @@ takes advantage of the `_formhelpers.html` template:
|
|||
For more information about WTForms, head over to the `WTForms
|
||||
website`_.
|
||||
|
||||
.. _WTForms: http://wtforms.simplecodes.com/
|
||||
.. _WTForms website: http://wtforms.simplecodes.com/
|
||||
.. _WTForms: http://wtforms.readthedocs.org/
|
||||
.. _WTForms website: http://wtforms.readthedocs.org/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue