# Reverse admin urls

**URL:** <https://forum.djangoproject.com/t/reverse-admin-urls/41535>\
**Category:** The Admin\
**Created:** [June 22, 2025, 2:57pm UTC](https://forum.djangoproject.com/t/reverse-admin-urls/41535 "2025-06-22T14:57:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [June 22, 2025, 3:48pm UTC](https://forum.djangoproject.com/t/reverse-admin-urls/41535/2 "2025-06-22T15:48:41Z")

</div>

Welcome @moanos !

While I can’t verify everything here, I do see that:

> [@moanos](#):
>
> `<a href="{% url org|admin_urlname:'change' %}" org.id>Change Rescue Orgnaization</a>`

is constructed incorrectly.

The `org.id` needs to be part of the url tag to pass as a parameter to the ‘change’ url.

Notice the difference in the location of the parameter between what you have above and the sample in the docs:  
`<a href="{% url opts|admin_urlname:'delete' user.pk %}">Delete this user</a>`

Also, the models themselves do not have `app_label` and `model_name` attributes. They’re exposed in the `_meta` attribute of the model. This means you should use something like `{% url org._meta|admin_urlname:'change' ...`

---

_[View the full topic](https://forum.djangoproject.com/t/reverse-admin-urls/41535)._
