Fixed some smaller things in the docs

This commit is contained in:
Armin Ronacher 2012-04-09 17:38:08 +01:00
parent 52f9cefbcd
commit d26af4fd6d
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
.. _app_context:
.. _app-context:
The Application Context
=======================

View file

@ -6,7 +6,7 @@ The Request Context
This document describes the behavior in Flask 0.7 which is mostly in line
with the old behavior but has some small, subtle differences.
It is recommended that you read the :api:`app-context` chapter first.
It is recommended that you read the :ref:`app-context` chapter first.
Diving into Context Locals
--------------------------

View file

@ -25,7 +25,7 @@ from .helpers import url_for, jsonify, json_available, flash, \
get_template_attribute, make_response, safe_join
from .globals import current_app, g, request, session, _request_ctx_stack, \
_app_ctx_stack
from .ctx import has_request_context
from .ctx import has_request_context, has_app_context
from .module import Module
from .blueprints import Blueprint
from .templating import render_template, render_template_string