~ubuntu-server-dev/horizon/precise-essex

« back to all changes in this revision

Viewing changes to debian/patches/use-memcache.patch

  • Committer: Dave Walker (Daviey)
  • Date: 2012-06-12 11:38:02 UTC
  • Revision ID: davewalker@ubuntu.com-20120612113802-kqmn8l5wn4cjvip3
Actually include debian/patches/use-memcache.patch.. doh

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: Use memcache session engine by default
 
2
 This is to avoid frequent log outs, as sessions are not shared across workers.
 
3
Author: Dave Walker (Daviey) <DaveWalker@ubuntu.com>
 
4
Bug: https://launchpad.net/bugs/968850
 
5
 
 
6
--- a/openstack_dashboard/local/local_settings.py.example
 
7
+++ b/openstack_dashboard/local/local_settings.py.example
 
8
@@ -26,10 +26,7 @@
 
9
 
 
10
 LOCAL_PATH = os.path.dirname(os.path.abspath(__file__))
 
11
 
 
12
-# We recommend you use memcached for development; otherwise after every reload
 
13
-# of the django development server, you will have to login again. To use
 
14
-# memcached set CACHE_BACKED to something like 'memcached://127.0.0.1:11211/'
 
15
-CACHE_BACKEND = 'locmem://'
 
16
+CACHE_BACKEND = 'memcached://127.0.0.1:11211/'
 
17
 
 
18
 # Send email to the console by default
 
19
 EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'