瀏覽代碼

Fixed capitalization of "URL pattern".

Tim Graham 8 年之前
父節點
當前提交
415ae960bb
共有 4 個文件被更改,包括 4 次插入4 次删除
  1. 1 1
      docs/intro/tutorial01.txt
  2. 1 1
      docs/ref/urlresolvers.txt
  3. 1 1
      docs/releases/1.6.txt
  4. 1 1
      docs/topics/i18n/translation.txt

+ 1 - 1
docs/intro/tutorial01.txt

@@ -385,7 +385,7 @@ aren't going to use this feature of Django in the tutorial.
 
 Naming your URL lets you refer to it unambiguously from elsewhere in Django,
 especially from within templates. This powerful feature allows you to make
-global changes to the url patterns of your project while only touching a single
+global changes to the URL patterns of your project while only touching a single
 file.
 
 When you're comfortable with the basic request and response flow, read

+ 1 - 1
docs/ref/urlresolvers.txt

@@ -65,7 +65,7 @@ This ``current_app`` argument is used as a hint to resolve application
 namespaces into URLs on specific application instances, according to the
 :ref:`namespaced URL resolution strategy <topics-http-reversing-url-namespaces>`.
 
-The ``urlconf`` argument is the URLconf module containing the url patterns to
+The ``urlconf`` argument is the URLconf module containing the URL patterns to
 use for reversing. By default, the root URLconf for the current thread is used.
 
 .. note::

+ 1 - 1
docs/releases/1.6.txt

@@ -787,7 +787,7 @@ the ``name`` argument so it doesn't conflict with the new url::
     url(r'^reset/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$',
         'django.contrib.auth.views.password_reset_confirm_uidb36'),
 
-You can remove this url pattern after your app has been deployed with Django
+You can remove this URL pattern after your app has been deployed with Django
 1.6 for :setting:`PASSWORD_RESET_TIMEOUT_DAYS`.
 
 Default session serialization switched to JSON

+ 1 - 1
docs/topics/i18n/translation.txt

@@ -1413,7 +1413,7 @@ Language prefix in URL patterns
 .. function:: i18n_patterns(*urls, prefix_default_language=True)
 
 This function can be used in a root URLconf and Django will automatically
-prepend the current active language code to all url patterns defined within
+prepend the current active language code to all URL patterns defined within
 :func:`~django.conf.urls.i18n.i18n_patterns`.
 
 Setting ``prefix_default_language`` to ``False`` removes the prefix from the