#15334 closed (wontfix)
Documentation on namespaced URL reversing has an error
Reported by: | Erik Allik | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
"If there is no current instance - say, if we were rendering a page somewhere else on the site - myapp:index will resolve to the LAST REGISTERED instance of myapp. Since there is NO DEFAULT INSTANCE, the LAST INSTANCE of myapp that is registered will be used."
I assume the first "last registered" should instead be "default".
Change History (3)
comment:1 by , 14 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 by , 14 years ago
Isn't there a duplication in there?
First "myapp:index will resolve to the LAST REGISTERED instance of myapp"
and then "..., the LAST INSTANCE of myapp that is registered will be used." ?
Reading that paragraph feels like somebody clumsily cut and pasted some text. Sorry if I'm missing something.
To my reading the current docs are correct.
If, as you suggested, the first instance of "last registered instance" were changed to "default instance" the paragraph would contradict itself, saying that it will resolve to the default instance when there is no default instance.
The only way I could see improving that snippet would be to change the period before "since" to a semicolon or an em dash so that the two sentences are more clearly logically connected.
If the word "since" were an "if", what you say would be true.
If I am misunderstanding or misreading, please reopen the ticket with further explanation.