You are using django url, so it should be the same name you gave your url in 
your URLs.py e.g path('',homeview.as_views, name='home-page') 

So if I want to call this url in my template I will use the django url which is 
{% url 'home-page' %}.

You will have to check your url and see if what you named it matched what you 
wrote in your django template 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b4937809-5dc7-47e0-bc4e-77b9d15628a6o%40googlegroups.com.

Reply via email to