# Method get\_absolute\_url

**URL:** <https://forum.djangoproject.com/t/method-get-absolute-url/7012>\
**Category:** Using Django\
**Created:** [March 12, 2021, 6:02pm UTC](https://forum.djangoproject.com/t/method-get-absolute-url/7012 "2021-03-12T18:02:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike637](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/mike637/32/3817_2.png) [@Mike637](https://forum.djangoproject.com/u/Mike637)\
**Post date:** [March 12, 2021, 6:02pm UTC](https://forum.djangoproject.com/t/method-get-absolute-url/7012/1 "2021-03-12T18:02:17Z")

</div>

Hello, Can you help me with realisation of “get\_absolute\_url” method. I dont understand where I made mistake. my link fails and refuses to navigate to another page.my link looks like news/category(kind of sport) and it must show all subcategories for current\_category

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [March 12, 2021, 6:06pm UTC](https://forum.djangoproject.com/t/method-get-absolute-url/7012/2 "2021-03-12T18:06:41Z")

</div>

Please provide more details. Show the code and templates you’re written, how it’s rendered, and how you’re expecting it to be rendered.  
(When you post code and templates here, enclose the code between lines of three backticks - `. This means you’ll have a line of ```, then your code and templates, and then another line of ```. This will ensure your code stays properly formatted.)
