I am trying to pass the CHOICE field value in Django Template in a tag, like below,
<a href="{% url 'blog' obj.get_blog_display %}" >{{ obj.get_blog_display }}</a>
If i pass any column other than this , I am not geting any error. But if i add obj.get_blog_display CHOICE field value then its not working getting below error,
NoReverseMatch at /
Kindly someone help me on this issue.
Found the answer, actually its issue in one of my choice field values, it has "ABC/XYZ' value like this, because of this value my url pattern doesnt fit into that. After I have changed the url pattern and its working.