mirror of
https://github.com/django/django.git
synced 2025-12-04 00:55:36 +00:00
Alphabetized imports in various docs.
Follow-up ofd97cce3409and7d3fe36c62.
This commit is contained in:
parent
1b7d524cfa
commit
35319bf12c
36 changed files with 71 additions and 71 deletions
|
|
@ -168,7 +168,7 @@ For example::
|
|||
Register custom converter classes in your URLconf using
|
||||
:func:`~django.urls.register_converter`::
|
||||
|
||||
from django.urls import register_converter, path
|
||||
from django.urls import path, register_converter
|
||||
|
||||
from . import converters, views
|
||||
|
||||
|
|
@ -614,8 +614,8 @@ You can obtain these in template code by using:
|
|||
|
||||
Or in Python code::
|
||||
|
||||
from django.urls import reverse
|
||||
from django.http import HttpResponseRedirect
|
||||
from django.urls import reverse
|
||||
|
||||
def redirect_to_year(request):
|
||||
# ...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue