Fixed #22888 -- Removed some unnecessary text in tutorial 3.
This commit is contained in:
parent
809362518d
commit
1bbffe7867
|
@ -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