~james-page/horizon/theme-resync

« back to all changes in this revision

Viewing changes to debian/patches/ubuntu_local_settings.patch

  • Committer: James Page
  • Date: 2013-03-13 11:57:23 UTC
  • mfrom: (144.1.1 horizon)
  • Revision ID: james.page@canonical.com-20130313115723-pt1mumawdks0xui4
Correct CACHE configuration to use memcached, fix syntax error

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Index: horizon/openstack_dashboard/local/local_settings.py.example
2
 
===================================================================
3
 
--- horizon.orig/openstack_dashboard/local/local_settings.py.example    2013-03-12 12:43:30.000000000 -0700
4
 
+++ horizon/openstack_dashboard/local/local_settings.py.example 2013-03-12 12:45:17.159499422 -0700
5
 
@@ -4,7 +4,7 @@
 
1
--- a/openstack_dashboard/local/local_settings.py.example
 
2
+++ b/openstack_dashboard/local/local_settings.py.example
 
3
@@ -4,7 +4,7 @@ from django.utils.translation import uge
6
4
 
7
5
 from openstack_dashboard import exceptions
8
6
 
11
9
 TEMPLATE_DEBUG = DEBUG
12
10
 
13
11
 # Set SSL proxy settings:
14
 
@@ -68,6 +68,7 @@
 
12
@@ -67,7 +67,8 @@ LOCAL_PATH = os.path.dirname(os.path.abs
 
13
 
15
14
 CACHES = {
16
15
     'default': {
17
 
         'BACKEND' : 'django.core.cache.backends.locmem.LocMemCache'
18
 
+        'LOCATION' : '127.0.0.1:11211',
 
16
-        'BACKEND' : 'django.core.cache.backends.locmem.LocMemCache'
 
17
+        'BACKEND' : 'django.core.cache.backends.memcached.MemcachedCache',
 
18
+        'LOCATION' : '127.0.0.1:11211'
19
19
     }
20
20
 }
21
21
 
22
 
@@ -76,6 +77,22 @@
 
22
@@ -76,6 +77,22 @@ EMAIL_BACKEND = 'django.core.mail.backen
23
23
 # Or send them to /dev/null
24
24
 #EMAIL_BACKEND = 'django.core.mail.backends.dummy.EmailBackend'
25
25