Hello,
If in the urls.py, I can write:
*app_name* = '*posts*'
.
.
path(' ', views.home, name='home'),
then why it is required to refer url name (from the template) by the *app_name
value* as:
{% url '*posts*:home' %}
It should be referred instead by *app_name variable* like below:
{% url '*app_name*:home' %}
What do you guys think?
Thanks,
Aniket.
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-developers/ce6c2ef7-b463-43d5-bd57-5f2ca3d6fda6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.