Mostly I'd sometimes notice that messages didn't appear until one or two
pages after it should, but recently, I actually started using the session
for more stuff and stuff was breaking sometimes and other times not -
session looked good in the database, but my views weren't always seeing
the same values. And everything was fine with runserver...
Doh! Multiple processes in WSGI/Apache2...
https://docs.djangoproject.com/en/dev/topics/http/sessions/#using-cached-
sessions
So, just because the local-memory cache is the default if not otherwise
configured, add an extra line to the existing warning:
Additionally, the local-memory cache backend is NOT multi-process safe,
therefore probably not a good choice for production environments.
--
Ticket URL: <https://code.djangoproject.com/ticket/23023>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => assigned
* needs_better_patch: => 0
* needs_tests: => 0
* owner: nobody => timo
* needs_docs: => 0
* stage: Unreviewed => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/23023#comment:1>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"7d0519c725f25cb0b52e42c60f2505e21d2ab4b3"]:
{{{
#!CommitTicketReference repository=""
revision="7d0519c725f25cb0b52e42c60f2505e21d2ab4b3"
Fixed #23023 -- Added warning against local-memory cache.
Thanks django at kerz.id.au.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23023#comment:2>
Comment (by Tim Graham <timograham@…>):
In [changeset:"8e34bcdfba16cb1dc3096da57d1e82d3839472a8"]:
{{{
#!CommitTicketReference repository=""
revision="8e34bcdfba16cb1dc3096da57d1e82d3839472a8"
[1.7.x] Fixed #23023 -- Added warning against local-memory cache.
Thanks django at kerz.id.au.
Backport of 7d0519c725 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23023#comment:3>
Comment (by Tim Graham <timograham@…>):
In [changeset:"21853c1b908f777de354b1371c17422f10032c70"]:
{{{
#!CommitTicketReference repository=""
revision="21853c1b908f777de354b1371c17422f10032c70"
[1.6.x] Fixed #23023 -- Added warning against local-memory cache.
Thanks django at kerz.id.au.
Backport of 7d0519c725 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23023#comment:4>