diff --git a/rosetta/locale/de/LC_MESSAGES/django.mo b/rosetta/locale/de/LC_MESSAGES/django.mo index 44ea90a..279b356 100644 Binary files a/rosetta/locale/de/LC_MESSAGES/django.mo and b/rosetta/locale/de/LC_MESSAGES/django.mo differ diff --git a/rosetta/locale/ru/LC_MESSAGES/django.po b/rosetta/locale/ru/LC_MESSAGES/django.po index 6edc7d0..d37a05c 100644 --- a/rosetta/locale/ru/LC_MESSAGES/django.po +++ b/rosetta/locale/ru/LC_MESSAGES/django.po @@ -10,7 +10,7 @@ msgstr "" "POT-Creation-Date: 2014-02-28 13:36+0100\n" "PO-Revision-Date: 2010-07-04 13:42+0200\n" "Last-Translator: Nazar Leush \n" -"Language-Team: LANGUAGE \n" +"Language-Team: ru \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/rosetta/locale/uk/LC_MESSAGES/django.po b/rosetta/locale/uk/LC_MESSAGES/django.po index fbf99f0..83043ca 100644 --- a/rosetta/locale/uk/LC_MESSAGES/django.po +++ b/rosetta/locale/uk/LC_MESSAGES/django.po @@ -10,7 +10,7 @@ msgstr "" "POT-Creation-Date: 2014-02-28 13:36+0100\n" "PO-Revision-Date: 2010-07-04 13:42+0200\n" "Last-Translator: Nazar Leush \n" -"Language-Team: LANGUAGE \n" +"Language-Team: uk \n" "Language: uk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff --git a/runtests_multi_venv.sh b/runtests_multi_venv.sh index b5025cf..736e247 100755 --- a/runtests_multi_venv.sh +++ b/runtests_multi_venv.sh @@ -35,19 +35,19 @@ then pip install --use-mirrors coverage python3-memcached six Django==1.6.1 requests==2.1.0 polib==1.0.4 microsofttranslator==0.5 deactivate fi -if [ ! -d .venv_17b ] +if [ ! -d .venv_17 ] then - virtualenv --no-site-packages --distribute --python=python2.7 .venv_17b - . .venv_17b/bin/activate - pip install https://www.djangoproject.com/download/1.7.b4/tarball/ + virtualenv --no-site-packages --distribute --python=python2.7 .venv_17 + . .venv_17/bin/activate + pip install Django==1.7 pip install --use-mirrors coverage python-memcached six requests==2.1.0 polib==1.0.4 microsofttranslator==0.5 deactivate fi -if [ ! -d .venv_17b_p3 ] +if [ ! -d .venv_17_p3 ] then - virtualenv --no-site-packages --distribute --python=python3 .venv_17b_p3 - . .venv_17b_p3/bin/activate - pip install https://www.djangoproject.com/download/1.7.b4/tarball/ + virtualenv --no-site-packages --distribute --python=python3 .venv_17_p3 + . .venv_17_p3/bin/activate + pip install Django==1.7 pip install --use-mirrors coverage python3-memcached six requests==2.1.0 polib==1.0.4 microsofttranslator==0.5 deactivate fi @@ -93,7 +93,7 @@ python manage.py test rosetta cd .. deactivate -. .venv_17b/bin/activate +. .venv_17/bin/activate cd testproject python manage.py --version python --version @@ -101,7 +101,7 @@ python manage.py test rosetta cd .. deactivate -. .venv_17b_p3/bin/activate +. .venv_17_p3/bin/activate cd testproject python manage.py --version python --version diff --git a/testproject/settings.py b/testproject/settings.py index 5d52f1c..3f33405 100644 --- a/testproject/settings.py +++ b/testproject/settings.py @@ -46,6 +46,14 @@ INSTALLED_APPS = [ ] LANGUAGE_CODE = "en" +MIDDLEWARE_CLASSES = ( + 'django.middleware.common.CommonMiddleware', + 'django.contrib.sessions.middleware.SessionMiddleware', + 'django.middleware.csrf.CsrfViewMiddleware', + 'django.contrib.auth.middleware.AuthenticationMiddleware', + 'django.contrib.messages.middleware.MessageMiddleware' +) + LANGUAGES = ( ('ja', u'日本語'), ('xx', u'XXXXX'),