Skip to content

Commit d26af4f

Browse files
committed
Fixed some smaller things in the docs
1 parent 52f9cef commit d26af4f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/appcontext.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. _app_context:
1+
.. _app-context:
22

33
The Application Context
44
=======================

docs/reqcontext.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The Request Context
66
This document describes the behavior in Flask 0.7 which is mostly in line
77
with the old behavior but has some small, subtle differences.
88

9-
It is recommended that you read the :api:`app-context` chapter first.
9+
It is recommended that you read the :ref:`app-context` chapter first.
1010

1111
Diving into Context Locals
1212
--------------------------

flask/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
get_template_attribute, make_response, safe_join
2626
from .globals import current_app, g, request, session, _request_ctx_stack, \
2727
_app_ctx_stack
28-
from .ctx import has_request_context
28+
from .ctx import has_request_context, has_app_context
2929
from .module import Module
3030
from .blueprints import Blueprint
3131
from .templating import render_template, render_template_string

0 commit comments

Comments
 (0)