Agree, an officially-recomended package plus "extra" dependency (so you
don't have to look it up on every install) would probably be ideal. We
don't need it in core as long as it's easy to install without looking up
and works reliably.
We could also think about adding some options in settings.py a
can recall, do
>> support Windows.
>>
>>
>>
>> *From:* django-developers@googlegroups.com [mailto:
>> django-developers@googlegroups.com] *On Behalf Of *Jacob Rief
>> *Sent:* Thursday, September 5, 2019 1:33 AM
>> *To:* django-developers@googlegroups.com
>&g
s@googlegroups.com [mailto:
> django-developers@googlegroups.com] *On Behalf Of *Jacob Rief
> *Sent:* Thursday, September 5, 2019 1:33 AM
> *To:* django-developers@googlegroups.com
> *Subject:* Re: Redis cache support in core
>
>
>
> I'm also in favor on having it as part of the
gt;>
>> *From:* django-developers@googlegroups.com
>> <mailto:django-developers@googlegroups.com>
>> [mailto:django-developers@googlegroups.com] *On Behalf Of *Jacob Rief
>> *Sent:* Thursday, September 5, 2019 1:33 AM
>> *To:* django-developers@googlegroups
rs@googlegroups.com
> Subject: Re: Redis cache support in core
>
> I'm also in favor on having it as part of the core, since memcache is also
> supported.
>
> One of the nice features Redis provides, is the possibility to invalidate one
> or more cached object by using a
, September 5, 2019 1:33 AM
To: django-developers@googlegroups.com
Subject: Re: Redis cache support in core
I'm also in favor on having it as part of the core, since memcache is also
supported.
One of the nice features Redis provides, is the possibility to invalidate one
or more cached object by us
I'm also in favor on having it as part of the core, since memcache is also
supported.
One of the nice features Redis provides, is the possibility to invalidate
one or more cached object by using a wildcard key.
It namely is the method delete_pattern() added by django-redis-cache to the
given Djang
A bit delayed but, I'd support a Redis in core. (I still periodically have
to go look up the difference between django-redis and django-redis-cache;
"Which one did I pick last time?" I think we could help folks out with the
first steps here.)
Aymeric's summary seems correct:
On Thursday, 20 J
Markus, I'd prefer that approach over vendoring a more incomplete solution.
Bonus points if we can add packages to extra_requires, so that `pip install
Django[redis]` would work nicely.
On Friday, 21 June 2019 23:17:25 UTC+10, Markus Holtermann wrote:
>
> Hi all,
>
> may I suggest that django-r
Hi all,
may I suggest that django-redis may be "promoted" to an official Django package
under the Django GitHub organization? This would follow
https://github.com/django/deps/blob/master/final/0007-official-projects.rst .
The package would be pointed out explicitly in the Django docs but would
I wouldn't say it's that complicated a setup. It would require a single
settings snippet -- just like the ones for other backends -- and, I guess,
a link to django-redis docs for more details (if django-redis is what we
recommend), maybe a quick explanation of what is CLIENT_CLASS and other
options
From: "django-developers@googlegroups.com"
on behalf of Aymeric Augustin
Reply-To: "django-developers@googlegroups.com"
Date: Thursday, 20 June 2019 at 15:35
To: "django-developers@googlegroups.com"
Subject: Re: Redis cache support in core
Hello,
Until now, t
Hello,
Until now, this feature request was always declined. As a consequence, every
user who wants Redis has to choose between django-redis and django-redis-cache.
Considering that Redis must be the most popular cache backend these days, I'm
in favor of providing an off-the-shelf solution in Dj
Celery explicitly document their integration with Redis though. I don't
think we want to take over documenting the setup of a 3rd party package in
Django.
On Thursday, 20 June 2019 11:00:27 UTC+10, Ivan Anishchuk wrote:
>
> How about making one of the third-party packages an optional dependency?
How about making one of the third-party packages an optional dependency?
Celery, for example, does that: you can just install celery[redis] without
having to figure out what other packages you need to enable redis support.
Ivan.
On Wed, Jun 19, 2019 at 6:44 AM Josh Smeaton wrote:
> There are al
There are already several 3rd party packages that implement redis as a
django cache backend, for example https://github.com/niwinz/django-redis
We already have a base class for cache backends - and several implementing
it (such as memcache). I don't think there's much benefit taking on another
Hello,
I would like to work on Redis support in core, and I would like to discuss
proper solution for that.
Redis is getting so popular and almost every modern backend stack uses it
someway, therefore I think that supporting it as a cache backend in core
would make Django more appealing. A sol
17 matches
Mail list logo