Changes between Initial Version and Version 1 of Ticket #32452


Ignore:
Timestamp:
Feb 16, 2021, 8:31:35 AM (4 years ago)
Author:
Thomas Güttler
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32452 – Description

    initial v1  
    77This way a developer needs to type and import less code:
    88
    9 ```
     9{{{
    1010path = default_storage.save('path/to/file', b'new content')
    11 ```
     11}}}
    1212
    13 ```
     13{{{
    1414path = default_storage.save('path/to/file', 'new unicode string, encoded automatically with utf-8')
    15 ```
     15}}}
    1616
    1717Would you accept a patch to `Storage.save()`?
Back to Top