浏览代码

Fixed two malformed links.

Tim Graham 12 年之前
父节点
当前提交
14d1d504d5
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      docs/intro/tutorial03.txt
  2. 1 1
      docs/ref/contrib/messages.txt

+ 1 - 1
docs/intro/tutorial03.txt

@@ -277,7 +277,7 @@ you want to change the way the page looks, you'll have to edit this Python code.
 So let's use Django's template system to separate the design from Python.
 So let's use Django's template system to separate the design from Python.
 
 
 First, create a directory ``polls`` in your template directory you specified
 First, create a directory ``polls`` in your template directory you specified
-in setting:`TEMPLATE_DIRS`. Within that, create a file called ``index.html``.
+in :setting:`TEMPLATE_DIRS`. Within that, create a file called ``index.html``.
 Put the following code in that template:
 Put the following code in that template:
 
 
 .. code-block:: html+django
 .. code-block:: html+django

+ 1 - 1
docs/ref/contrib/messages.txt

@@ -78,7 +78,7 @@ Django provides three built-in storage classes:
 
 
 :class:`~django.contrib.messages.storage.fallback.FallbackStorage` is the
 :class:`~django.contrib.messages.storage.fallback.FallbackStorage` is the
 default storage class. If it isn't suitable to your needs, you can select
 default storage class. If it isn't suitable to your needs, you can select
-another storage class by setting setting:`MESSAGE_STORAGE` to its full import
+another storage class by setting :setting:`MESSAGE_STORAGE` to its full import
 path, for example::
 path, for example::
 
 
     MESSAGE_STORAGE = 'django.contrib.messages.storage.cookie.CookieStorage'
     MESSAGE_STORAGE = 'django.contrib.messages.storage.cookie.CookieStorage'