Given the code for "Writing your first Django app, part 5" is likely to be
carried forward from "Writing your first Django app, part 4", the
statement ''''response.content'''' in '''The Django test client''' is
unlikely to return '''b'\n\n\n <p>No polls are available.</p>\n\n''''
as documented, irregardless of TIME_ZONE set to default 'UTC' or system
time zone.
In fact, the statement ''''response.content'''' returns '''b'\n <ul>\n
\n <li><a href="/polls/1/">What's up?</a></li>\n \n
</ul>\n''''
Please help with clarification.
Thanks
--
Ticket URL: <https://code.djangoproject.com/ticket/27104>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/27104#comment:1>
* has_patch: 0 => 1
* stage: Unreviewed => Accepted
Comment:
That looks correct. See if this
[https://github.com/django/django/pull/7138 pull request] helps.
--
Ticket URL: <https://code.djangoproject.com/ticket/27104#comment:2>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"cf2cd4053fe3eed50ab2b7269ed72d25712c970a" cf2cd40]:
{{{
#!CommitTicketReference repository=""
revision="cf2cd4053fe3eed50ab2b7269ed72d25712c970a"
Fixed #27104 -- Corrected shell example in tutorial 5.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27104#comment:3>
Comment (by Tim Graham <timograham@…>):
In [changeset:"6f006f40f78649c20c72c75c8159e164de9c7b6c" 6f006f4]:
{{{
#!CommitTicketReference repository=""
revision="6f006f40f78649c20c72c75c8159e164de9c7b6c"
[1.10.x] Fixed #27104 -- Corrected shell example in tutorial 5.
Backport of cf2cd4053fe3eed50ab2b7269ed72d25712c970a from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27104#comment:4>