Re: Proposal: Add An in-memory data storage backend in Django

2022-10-21 Thread Paolo Melchiorre
Yes, exactly. Paolo On Fri, Oct 21, 2022, 10:59 Joshua Thomas wrote: > Not to speak for Paulo, but I believe he meant using in-memory storage as > a file storage backend, not data/database backend. > > On Thursday, October 20, 2022 at 4:50:49 PM UTC-7 shang.xia...@gmail.com > wrote: > >> Hi,

Re: Proposal: Add An in-memory data storage backend in Django

2022-10-21 Thread Joshua Thomas
Not to speak for Paulo, but I believe he meant using in-memory storage as a file storage backend, not data/database backend. On Thursday, October 20, 2022 at 4:50:49 PM UTC-7 shang.xia...@gmail.com wrote: > Hi, > > I may be missing some context here but is this something distinctly >

Re: Proposal: Add An in-memory data storage backend in Django

2022-10-21 Thread Jacob Rief
Big +1 from my side. (Would indeed help me to write more portable unit tests.) – Jacob -- 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,

Re: Proposal: Add An in-memory data storage backend in Django

2022-10-20 Thread Paolo Melchiorre
Actually we're talking about an in memory data storage backend in addition to the filesystem storage https://docs.djangoproject.com/en/4.1/ref/files/storage/ On Thu, Oct 20, 2022, 16:50 David Sanders wrote: > Hi, > > I may be missing some context here but is this something distinctly >

Re: Proposal: Add An in-memory data storage backend in Django

2022-10-20 Thread Paolo Melchiorre
Yes, the package is that one and Josh mentioned it in the related issue https://code.djangoproject.com/ticket/34110 But that package is unmantained and the feature that it provides can be very useful to have directly in the Django core. On Thu, Oct 20, 2022, 18:00 'Tobias McNulty' via Django

Re: Proposal: Add An in-memory data storage backend in Django

2022-10-20 Thread 'Tobias McNulty' via Django developers (Contributions to Django itself)
Hi, I also may be missing some context, but is this the mentioned package? https://github.com/waveaccounting/dj-inmemorystorage I have not used it, but it looks like a useful tool to have! Tobias On Thu, Oct 20, 2022 at 7:50 PM David Sanders wrote: > Hi, > > I may be missing some context

Re: Proposal: Add An in-memory data storage backend in Django

2022-10-20 Thread David Sanders
Hi, I may be missing some context here but is this something distinctly different from setting SQLite to use in-memory storage [1]? 樂 [1] https://www.sqlite.org/inmemorydb.html David On Fri, 21 Oct 2022, 04:30 Paolo Melchiorre (paulox), wrote: > Hi all, > > there is a package that provide

Re: Proposal: Add An in-memory data storage backend in Django

2022-10-20 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
+1 from me. Using in-memory storage is great for tests. On Thu, Oct 20, 2022 at 6:30 PM Paolo Melchiorre (paulox) < pa...@melchiorre.org> wrote: > Hi all, > > there is a package that provide in-memory data storage backend, but it's > now abandoned. > > Having support for in-memory data storage