Skip to content

Commit

Permalink
ajout de la session en memoire
Browse files Browse the repository at this point in the history
  • Loading branch information
firm1 committed May 28, 2014
1 parent b23308b commit bfaa02a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions requirements.txt
Expand Up @@ -21,6 +21,7 @@ django-guardian
django-haystack
django-model-utils
django-munin==0.1.4
python-memcached
lxml
pygal
httplib2
Expand Down
11 changes: 10 additions & 1 deletion zds/settings.py
Expand Up @@ -236,6 +236,15 @@
}
}

CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': '127.0.0.1:11211',
}
}

SESSION_ENGINE = "django.contrib.sessions.backends.cached_db"

AUTH_PROFILE_MODULE = 'member.Profile'
LOGIN_URL = '/membres/connexion'

Expand Down Expand Up @@ -291,7 +300,7 @@


MAX_POST_LENGTH = 1000000
SDZ_TUTO_DIR = 'C:\Users\Willy\Desktop\listing'
SDZ_TUTO_DIR = ''

MAIL_CA_ASSO = 'ca-zeste-de-savoir@googlegroups.com'

Expand Down

0 comments on commit bfaa02a

Please sign in to comment.