Fixed capitalization of "URL pattern".
This commit is contained in:
parent
1f9deba1b3
commit
415ae960bb
|
@ -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,
|
Naming your URL lets you refer to it unambiguously from elsewhere in Django,
|
||||||
especially from within templates. This powerful feature allows you to make
|
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.
|
file.
|
||||||
|
|
||||||
When you're comfortable with the basic request and response flow, read
|
When you're comfortable with the basic request and response flow, read
|
||||||
|
|
|
@ -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
|
namespaces into URLs on specific application instances, according to the
|
||||||
:ref:`namespaced URL resolution strategy <topics-http-reversing-url-namespaces>`.
|
: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.
|
use for reversing. By default, the root URLconf for the current thread is used.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
|
@ -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>.+)/$',
|
url(r'^reset/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$',
|
||||||
'django.contrib.auth.views.password_reset_confirm_uidb36'),
|
'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`.
|
1.6 for :setting:`PASSWORD_RESET_TIMEOUT_DAYS`.
|
||||||
|
|
||||||
Default session serialization switched to JSON
|
Default session serialization switched to JSON
|
||||||
|
|
|
@ -1413,7 +1413,7 @@ Language prefix in URL patterns
|
||||||
.. function:: i18n_patterns(*urls, prefix_default_language=True)
|
.. function:: i18n_patterns(*urls, prefix_default_language=True)
|
||||||
|
|
||||||
This function can be used in a root URLconf and Django will automatically
|
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`.
|
:func:`~django.conf.urls.i18n.i18n_patterns`.
|
||||||
|
|
||||||
Setting ``prefix_default_language`` to ``False`` removes the prefix from the
|
Setting ``prefix_default_language`` to ``False`` removes the prefix from the
|
||||||
|
|
Loading…
Reference in New Issue