Opened 19 months ago

Closed 19 months ago

Last modified 19 months 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 Changed 19 months ago by bmispelon

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

Good catch!

comment:2 Changed 19 months ago by Tim Graham <timograham@…>

  • Resolution set to fixed
  • Status changed from new to closed

In 6e9e6ca0712cf1d2d0874ea5c8b63140804605a5:

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

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

comment:3 Changed 19 months ago by Tim Graham <timograham@…>

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 Changed 19 months ago by Tim Graham <timograham@…>

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 Changed 19 months ago by alasdair

  • Resolution fixed deleted
  • Status changed from closed to new

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 Changed 19 months ago by Tim Graham <timograham@…>

  • Resolution set to fixed
  • Status changed from new to closed

In d011714002d4d8d73440149f24aa86142caf886f:

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

Thanks alasdair.

comment:7 Changed 19 months ago by Tim Graham <timograham@…>

In e8dea1f35cc037d104924994b8afbc5549b5c49e:

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

Thanks alasdair.

Backport of d011714002 from master

comment:8 Changed 19 months ago by Tim Graham <timograham@…>

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