0.9.0 release

This commit is contained in:
Marco Bonetti 2018-08-24 09:11:26 +02:00
parent daef242974
commit 9cd7fd9b27
5 changed files with 9 additions and 9 deletions

View file

@ -1,9 +1,10 @@
Version History
===============
Version 0.8.4 (unreleased)
--------------------------
* Fix `ROSETTA_REQUIRES_AUTH = False` wasn't respected (#203, BarnabasSzabolcs)
Version 0.9.0
-------------
* Fix `ROSETTA_REQUIRES_AUTH = False` wasn't respected (#203, @BarnabasSzabolcs)
* Django-rosetta now requires Django 1.11 or newer. Rosetta 0.8.3 is the last version to support Django 1.8 through 1.10. (#204, thanks @claudep)
Version 0.8.3

View file

@ -10,7 +10,7 @@ Rosetta is a `Django <http://www.djangoproject.com/>`_ application that eases th
Because it doesn't export any models, Rosetta doesn't create any tables in your project's database. Rosetta can be installed and uninstalled by simply adding and removing a single entry in your project's `INSTALLED_APPS` and a single line in your main ``urls.py`` file.
Note: as of version 0.7.13 django-rosetta requires Django 1.8 or later.
Note: as of version 0.7.13 django-rosetta requires Django 1.8 or later. As of version 0.9.0, django-rosetta requires Django 1.11 or later.
********
Features

View file

@ -1,4 +1,4 @@
VERSION = (0, 8, 4)
VERSION = (0, 9, 0)
default_app_config = "rosetta.apps.RosettaAppConfig"

View file

@ -458,7 +458,7 @@ class RosettaTestCase(TestCase):
# (Have to log in again, since our session engine changed)
self.client.login(username='test_admin', password='test_password')
self.assertTrue('django.contrib.sessions.middleware.SessionMiddleware'
in settings.MIDDLEWARE_CLASSES)
in settings.MIDDLEWARE)
# Only one backend to test: cache backend
rosetta_settings.STORAGE_CLASS = 'rosetta.storage.CacheRosettaStorage'
@ -586,7 +586,7 @@ class RosettaTestCase(TestCase):
def test_29_unsupported_p3_django_16_storage(self):
if VERSION[0:2] < (2, 0):
self.assertTrue('django.contrib.sessions.middleware.SessionMiddleware'
in settings.MIDDLEWARE_CLASSES)
in settings.MIDDLEWARE)
settings.SESSION_ENGINE = "django.contrib.sessions.backends.signed_cookies"
rosetta_settings.STORAGE_CLASS = 'rosetta.storage.SessionRosettaStorage'

View file

@ -52,14 +52,13 @@ if django.VERSION[0:2] >= (1, 7):
LANGUAGE_CODE = "en"
MIDDLEWARE_CLASSES = (
MIDDLEWARE = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware'
)
MIDDLEWARE = MIDDLEWARE_CLASSES
# Note: languages are overridden in the test runner
LANGUAGES = (