Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#21440 closed Bug (fixed)

URL error in first example

Reported by: olof.bjarnason@… Owned by: nobody
Component: Documentation Version: 1.6
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

Following the link below, you will see two code snippets that are expressly stated to be equivalent. However, the URL to the template is 'myapp/index.html' in first, and 'myapp/template.html' in the second.

https://docs.djangoproject.com/en/1.6/topics/http/shortcuts/#example

Change History (8)

comment:1 by Baptiste Mispelon, 10 years ago

Triage Stage: UnreviewedAccepted

Good catch!

comment:2 by Tim Graham <timograham@…>, 10 years ago

Resolution: fixed
Status: newclosed

In 6e9e6ca0712cf1d2d0874ea5c8b63140804605a5:

Fixed #21440 -- Typo in topics/http/shortcuts.txt

Thanks olof.bjarnason at gmail.com for the report.

comment:3 by Tim Graham <timograham@…>, 10 years ago

In f2b5e9d5bbfced68c02f50ebb15a7adf70bca36e:

[1.6.x] Fixed #21440 -- Typo in topics/http/shortcuts.txt

Thanks olof.bjarnason at gmail.com for the report.

Backport of 6e9e6ca071 from master

comment:4 by Tim Graham <timograham@…>, 10 years ago

In 47b6a7c354871892949916018fabe780c7006103:

[1.5.x] Fixed #21440 -- Typo in topics/http/shortcuts.txt

Thanks olof.bjarnason at gmail.com for the report.

Backport of 6e9e6ca071 from master

comment:5 by alasdair, 10 years ago

Resolution: fixed
Status: closednew

The incorrect template name appears a second time further down the page as well

https://docs.djangoproject.com/en/dev/topics/http/shortcuts/#id3

comment:6 by Tim Graham <timograham@…>, 10 years ago

Resolution: fixed
Status: newclosed

In d011714002d4d8d73440149f24aa86142caf886f:

Fixed #21440 -- Typo #2 in topics/http/shortcuts.txt

Thanks alasdair.

comment:7 by Tim Graham <timograham@…>, 10 years ago

In e8dea1f35cc037d104924994b8afbc5549b5c49e:

[1.6.x] Fixed #21440 -- Typo #2 in topics/http/shortcuts.txt

Thanks alasdair.

Backport of d011714002 from master

comment:8 by Tim Graham <timograham@…>, 10 years ago

In b41540f1566213297ada89d6e11040b853f8f04d:

[1.5.x] Fixed #21440 -- Typo #2 in topics/http/shortcuts.txt

Thanks alasdair.

Backport of d011714002 from master

Note: See TracTickets for help on using tickets.
Back to Top