1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Added backticks around name argument in tutorial 3.

This commit is contained in:
virgitl.io 2023-12-29 01:57:30 -03:00 committed by GitHub
parent 0be6dde817
commit acfdf39506
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -401,7 +401,7 @@ template, the link was partially hardcoded like this:
The problem with this hardcoded, tightly-coupled approach is that it becomes
challenging to change URLs on projects with a lot of templates. However, since
you defined the name argument in the :func:`~django.urls.path` functions in
you defined the ``name`` argument in the :func:`~django.urls.path` functions in
the ``polls.urls`` module, you can remove a reliance on specific URL paths
defined in your url configurations by using the ``{% url %}`` template tag: