diff options
author | Lin Hua Cheng <lin-hua.cheng@hp.com> | 2013-03-27 17:16:13 -0700 |
---|---|---|
committer | Lin Hua Cheng <lin-hua.cheng@hp.com> | 2013-04-30 20:54:39 -0700 |
commit | 5d32caf3af3b11fcf496ebb04ccfc44f49cbe0b9 (patch) | |
tree | 71a4dd41828f96d690c3d0ab5111c59aeb81a5ab /tools | |
parent | 9cdee05678feb0ad623439a0efe2a43e915cb2b2 (diff) | |
download | tuskar-ui-5d32caf3af3b11fcf496ebb04ccfc44f49cbe0b9.tar.gz |
Update Horizon for Django 1.5 compatibility
Changes made:
- Changed template url tags: {% url myview %} to {% url myview %}
- Import json instead of django.utils.simplejson
- Import django.utils.encoding.force_unicode instead of
django.utils.translation.force_unicode
- Fixed error in tables/base.py for CheckboxInput, pass a callable
check_test. Django 1.5 does not silently fail on this now.
- Set SECRET_KEY in test/settingspy, Django 1.5 refuse to start if it
is not set.
- Added notes about ALLOWED_HOSTS when running Horizon in Production
Fixes bug 1147329
Change-Id: I6ac1e81498f41141dea99760922991feb310a326
Diffstat (limited to 'tools')
-rw-r--r-- | tools/pip-requires | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/pip-requires b/tools/pip-requires index 1c249077..86409e73 100644 --- a/tools/pip-requires +++ b/tools/pip-requires @@ -2,9 +2,9 @@ d2to1>=0.2.10,<0.3 pbr>=0.5,<0.6 # Horizon Core Requirements -Django>=1.4,<1.5 +Django>=1.4,<1.6 django_compressor -django_openstack_auth>=1.0.7 +django_openstack_auth>=1.0.8 netaddr python-cinderclient>=1.0.2,<2.0.0 python-glanceclient<2 |