Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#28069 closed Cleanup/optimization (fixed)

Updating location of setup_test_environment() warning in tutorial 5

Reported by: Luke-VideoLibre Owned by: nobody
Component: Documentation Version: 1.11
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hy,
i just experienced a little glitch in the tutorial. On Part5 when testing for 404 in the shell in get a 400 because ALLOWED_HOSTS doesn't contain 'testserver'.

Change History (3)

comment:1 by Tim Graham, 7 years ago

Component: UncategorizedDocumentation
Has patch: set
Summary: glitch in part 5 of polls tutorialUpdating location of setup_test_environment() warning in tutorial 5
Triage Stage: UnreviewedAccepted

Most likely, you omitted the call to setup_test_environment().

PR

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

Resolution: fixed
Status: newclosed

In 45d65fc:

Fixed #28069 -- Moved setup_test_environment() warning in tutorial 5.

Updated for 17e661641ddaf8266e7430d83cfb2039abc55df7.

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

In c30cc8d:

[1.11.x] Fixed #28069 -- Moved setup_test_environment() warning in tutorial 5.

Updated for 17e661641ddaf8266e7430d83cfb2039abc55df7.

Backport of 45d65fc3f21d00ff619820c004b612f5c2fa1713 from master

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