#29278: FileResponse documentation should warn against using context managers -------------------------------------+------------------------------------- Reporter: Mike DePalatis | Owner: Windson Type: | yang Cleanup/optimization | Status: closed Component: Documentation | Version: 2.0 Severity: Normal | Resolution: fixed Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 1 Easy pickings: 1 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Tim Graham <timograham@…>): In [changeset:"a390cc710939365e58e6dc98ec282e532f71a3f9" a390cc71]: {{{ #!CommitTicketReference repository="" revision="a390cc710939365e58e6dc98ec282e532f71a3f9" [2.0.x] Fixed #29278 -- Doc'd that a context manager can't be used with FileResponse. Backport of 4fe5d846666d46a5395a5f0ea2845a96b6837a75 from master }}} -- Ticket URL: <https://code.djangoproject.com/ticket/29278#comment:9> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/064.b09bffdd84127eae3f38e75cf33834dc%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.