Hi,

In templates.html file  if i am defining url pattern like

"{ % url "app_name:app_name_function_name" %}.

I am getting the following error:

"django.urls.exceptions.NoReverseMatch patterns"

in urls.py

app name is : app_name

in views.py file

function name : function_name

if i give hyphen instead of underscore in function name like

"{ % url "app_name:app_name-function-name" %}

working fine without error

what could be the reason? Could someone make me to understand ?

Note: used viewsets to route multiple urls in urls file.
-- 

Thank you,

Sincerely,
Kishore Kumar,

-- 
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/CAOKoL1E6ztp3sRT%3Dp5z1QO%3DRb9nu_gnM2TwfSa_nGHLk9qQ4fw%40mail.gmail.com.

Reply via email to