You don't open files with django. You open files with the built-in function 'open'. Which allows you to specify text or binary mode. See the documentation: https://docs.python.org/3.11/library/functions.html#open On Monday, February 13, 2023 at 9:56:18 PM UTC+1 Lucas Matos wrote:
> I tested so many ways to do it, however a only found how to open text > files. Someone can help me? -- You received this message because you are subscribed to the Google Groups "Django users" 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-users/09553009-4ed2-472d-a86c-a7687308b4b9n%40googlegroups.com.

