[ANNOUNCE] Django 1.9 released

2015-12-01 Thread Tim Graham
Django 1.9 is now available: https://www.djangoproject.com/weblog/2015/dec/01/django-19-released/ With the release of Django 1.9, Django 1.7 has reached end-of-life. Django 1.7.11 is the final release of the 1.7 series and all users are encouraged to upgrade to Django 1.8+ as soon as possible s

Re: Django 1.9 cache.get_or_set works incorrectly with DummyCache backend

2015-12-01 Thread Oleksiy Ivanenko
Ticket in Trac https://code.djangoproject.com/ticket/25840 PS. Sorry for cross post. It was my first try to post in groups. On Tuesday, December 1, 2015 at 3:31:00 PM UTC+2, Tim Graham wrote: > > It seems to be an omission in the implementation. Feel free to create a > Trac ticket and offer a pa

Re: Django 1.9 cache.get_or_set works incorrectly with DummyCache backend

2015-12-01 Thread Tim Graham
It seems to be an omission in the implementation. Feel free to create a Trac ticket and offer a patch if you can. For future reference, please don't cross post between django-users (appropriate place for "is it a bug?" questions) and django-developers. Thanks! On Tuesday, December 1, 2015 at 7

Django 1.9 cache.get_or_set works incorrectly with DummyCache backend

2015-12-01 Thread Oleksiy Ivanenko
Hi, I'm trying to use Django 1.9rc2 There is some issue when you use django.core.cache.cache.get_or_set with DummyCache backend. from django.core.cache import cache cache.get_or_set('some_key', 'my_val') # Always returns None. Not a default value This thing brakes all my tests, when I use Dum