https://docs.djangoproject.com/en/dev/ref/contrib/admin/#reversing-admin-
urls
With an example:
{{{
urlresolvers.reverse('admin:auth_user_password_change', args=(1,))
results in:
/admin/main/customuser/1/password/
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25549>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* easy: 0 => 1
* needs_docs: => 0
* type: Uncategorized => Cleanup/optimization
* stage: Unreviewed => Accepted
Comment:
No objection, but I don't see why the example is needed as it's no
different from the other URLs mentioned there.
--
Ticket URL: <https://code.djangoproject.com/ticket/25549#comment:1>
* owner: nobody => Anagha22
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/25549#comment:2>
* cc: anaghar1996@… (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/25549#comment:3>
Comment (by googol7):
I just thought that some more examples there in general would be of help.
--
Ticket URL: <https://code.djangoproject.com/ticket/25549#comment:4>
* cc: f.ssat95@… (added)
* owner: Anagha22 => darkryder
--
Ticket URL: <https://code.djangoproject.com/ticket/25549#comment:5>
* has_patch: 0 => 1
Comment:
[PR](https://github.com/django/django/pull/5525)
--
Ticket URL: <https://code.djangoproject.com/ticket/25549#comment:6>
* needs_better_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/25549#comment:7>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"ad167502f36f2547718aee290d4d11bf7a26ff82" ad16750]:
{{{
#!CommitTicketReference repository=""
revision="ad167502f36f2547718aee290d4d11bf7a26ff82"
Fixed #25549 -- Documented auth_user_password_change URL.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25549#comment:8>
Comment (by Tim Graham <timograham@…>):
In [changeset:"95eca4f508eb99d26ce812629afe0f6c60488134" 95eca4f]:
{{{
#!CommitTicketReference repository=""
revision="95eca4f508eb99d26ce812629afe0f6c60488134"
[1.8.x] Fixed #25549 -- Documented auth_user_password_change URL.
Backport of ad167502f36f2547718aee290d4d11bf7a26ff82 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25549#comment:9>
Comment (by Tim Graham <timograham@…>):
In [changeset:"b6545468eebdee12ee58aeb4871aa91c62220542" b654546]:
{{{
#!CommitTicketReference repository=""
revision="b6545468eebdee12ee58aeb4871aa91c62220542"
[1.9.x] Fixed #25549 -- Documented auth_user_password_change URL.
Backport of ad167502f36f2547718aee290d4d11bf7a26ff82 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25549#comment:10>