initial fixes for testing against django 1.7 final, fixes some translations

This commit is contained in:
Marco Bonetti 2014-09-17 10:40:41 +02:00
parent 6eac2a1e55
commit bd00ce90b4
5 changed files with 20 additions and 12 deletions

View file

@ -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 <nazar@pleso.net>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: ru <nazar@pleso.net>\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"

View file

@ -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 <nazar@pleso.net>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language-Team: uk <nazar@pleso.net>\n"
"Language: uk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"

View file

@ -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

View file

@ -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'),