#34445: DateField.input_formats cannot be printed
-------------------------------------+-------------------------------------
Reporter: stefan6419846 | Owner: David
| Sanders
Type: Bug | Status: closed
Component: Utilities | Version: 3.2
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"f5817c24f44aa90188757ddca1e5e63ba6f5df75" f5817c2]:
{{{
#!CommitTicketReference repository=""
revision="f5817c24f44aa90188757ddca1e5e63ba6f5df75"
Refs #34445 -- Fixed string-casting of non-string lazy objects when value
may be bytes.
If the result type is bytes, then calling bytes() on it does nothing.
If the result type is not bytes, we should not cast to bytes, just
because the return value may be bytes.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34445#comment:6>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018899814310-9a7d08b8-1d1f-46fa-841d-34bf525a8aa6-000000%40eu-central-1.amazonses.com.