#27104: The Django test client statement 'response.content' in "Writing your
first
Django app, part 5" unlikely to return "No polls are available." as
documented
--------------------------------------+--------------------
Reporter: pluralschool | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.10
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+--------------------
Hi
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.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/055.56d781311e35457d94141ddc1710181f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.