Skip to content

Commit

Permalink
fix: add pymemcache for Django 4 (#3531)
Browse files Browse the repository at this point in the history
* fix: add pymemcache for Django 4

* fix: remove python-memcached from requirements.txt
  • Loading branch information
rpcross authored Sep 20, 2022
1 parent 2a93fa0 commit 9ecacc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/mlarchive/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@
# Cache settings
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',
'LOCATION': '127.0.0.1:11211',
'TIMEOUT': 300,
}
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ mysqlclient
mock>=2.0.0
mozilla-django-oidc==2.0.0
passlib
pymemcache==3.5.2
pyopenssl
pyquery
pytest
Expand All @@ -38,7 +39,6 @@ pytest-flakes
pytest-pycodestyle
pytest-django>=2.9.1
python-dateutil>=2.2
python-memcached>=1.48
scout-apm>=2.23.0
selenium
six

0 comments on commit 9ecacc1

Please sign in to comment.