[1.7.x] Fixed #22888 -- Removed some unnecessary text in tutorial 3.
Backport of 1bbffe7867
from master
This commit is contained in:
parent
3619518c9b
commit
d38e3bfe5a
|
@ -577,8 +577,7 @@ make it so that Django knows which app view to create for a url when using the
|
||||||
``{% url %}`` template tag?
|
``{% url %}`` template tag?
|
||||||
|
|
||||||
The answer is to add namespaces to your root URLconf. In the ``mysite/urls.py``
|
The answer is to add namespaces to your root URLconf. In the ``mysite/urls.py``
|
||||||
file (the project's ``urls.py``, not the application's), go ahead and change
|
file, go ahead and change it to include namespacing:
|
||||||
it to include namespacing:
|
|
||||||
|
|
||||||
.. snippet::
|
.. snippet::
|
||||||
:filename: mysite/urls.py
|
:filename: mysite/urls.py
|
||||||
|
|
Loading…
Reference in New Issue