Configure memcached
This commit is contained in:
parent
0d6b919f47
commit
550f3f4122
1 changed files with 3 additions and 5 deletions
|
@ -116,9 +116,9 @@ if DEV_MODE and DEV_MODE == "LAPTOP":
|
||||||
else:
|
else:
|
||||||
CACHES = {
|
CACHES = {
|
||||||
'default': {
|
'default': {
|
||||||
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
|
'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache',
|
||||||
'LOCATION': 'unique-snowflake',
|
'LOCATION': '127.0.0.1:11211',
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -366,8 +366,6 @@ SESSION_EXPIRE_AT_BROWSER_CLOSE = True
|
||||||
|
|
||||||
CONFERENCE_ID = 2
|
CONFERENCE_ID = 2
|
||||||
PROPOSAL_FORMS = {
|
PROPOSAL_FORMS = {
|
||||||
"talk": "pinaxcon.proposals.forms.TalkProposalForm",
|
|
||||||
"tutorial": "pinaxcon.proposals.forms.TutorialProposalForm",
|
|
||||||
"copyleft-compliance": "pinaxcon.proposals.forms.CopyleftComplianceProposalForm",
|
"copyleft-compliance": "pinaxcon.proposals.forms.CopyleftComplianceProposalForm",
|
||||||
"sfc-member-project": "pinaxcon.proposals.forms.MemberProjectProposalForm",
|
"sfc-member-project": "pinaxcon.proposals.forms.MemberProjectProposalForm",
|
||||||
"container-days": "pinaxcon.proposals.forms.ContainerDaysProposalForm",
|
"container-days": "pinaxcon.proposals.forms.ContainerDaysProposalForm",
|
||||||
|
|
Loading…
Reference in a new issue