Configure memcached

This commit is contained in:
Ben Sturmfels 2023-04-24 19:40:36 +10:00
parent 0d6b919f47
commit 550f3f4122
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0

View file

@ -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",