~gandelman-a/ubuntu/raring/horizon/2013.1.1

« back to all changes in this revision

Viewing changes to debian/patches/ubuntu_local_settings.patch

  • Committer: James Page
  • Date: 2013-03-13 09:57:38 UTC
  • mfrom: (143.1.1 horizon)
  • Revision ID: james.page@canonical.com-20130313095738-y87pjl1yxe2z73ci
Fixup caching configuration

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
diff -Naurp horizon-2013.1.orig/openstack_dashboard/local/local_settings.py.example horizon-2013.1/openstack_dashboard/local/local_settings.py.example
2
 
--- horizon-2013.1.orig/openstack_dashboard/local/local_settings.py.example     2012-11-20 22:59:38.000000000 -0600
3
 
+++ horizon-2013.1/openstack_dashboard/local/local_settings.py.example  2012-11-21 12:35:19.701240407 -0600
4
 
@@ -4,7 +4,7 @@ from django.utils.translation import uge
 
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 @@
5
6
 
6
7
 from openstack_dashboard import exceptions
7
8
 
10
11
 TEMPLATE_DEBUG = DEBUG
11
12
 
12
13
 # Set SSL proxy settings:
13
 
@@ -49,13 +49,29 @@ LOCAL_PATH = os.path.dirname(os.path.abs
14
 
 # We recommend you use memcached for development; otherwise after every reload
15
 
 # of the django development server, you will have to login again. To use
16
 
 # memcached set CACHE_BACKED to something like 'memcached://127.0.0.1:11211/'
17
 
-CACHE_BACKEND = 'locmem://'
18
 
+CACHE_BACKEND = 'memcached://127.0.0.1:11211'
 
14
@@ -68,6 +68,7 @@
 
15
 CACHES = {
 
16
     'default': {
 
17
         'BACKEND' : 'django.core.cache.backends.locmem.LocMemCache'
 
18
+        'LOCATION' : '127.0.0.1:11211',
 
19
     }
 
20
 }
19
21
 
20
 
 # Send email to the console by default
21
 
 EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
 
22
@@ -76,6 +77,22 @@
22
23
 # Or send them to /dev/null
23
24
 #EMAIL_BACKEND = 'django.core.mail.backends.dummy.EmailBackend'
24
25