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,