Re: Feature request: Extend Storage.save() to directly save strings/bytes

2021-02-18 Thread Mariusz Felisiak
Related ticket: https://code.djangoproject.com/ticket/32452 -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-develop

Re: Feature request: Extend Storage.save() to directly save strings/bytes

2021-02-18 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi If you're mocking away the storage class to speed up your tests, instead try this in-memory storage class which implements the complete API: https://github.com/waveaccounting/dj-inmemorystorage . Then you don't need any mocks. As to adding the shortcut - if the only thing it will help with is