94👍
✅
Just do pip install python-memcached
and you should be good.
As for installing memcached itself, it depends on the platform you are on.
- Windows – http://pureform.wordpress.com/2008/01/10/installing-memcache-on-windows-for-php/
- OS X –
brew install memcached
- Debian/Ubuntu –
sudo apt-get install memcached
On OS X/Linux, just run memcached
in the command line.
23👍
Detailed explanation here http://ilian.i-n-i.org/caching-websites-with-django-and-memcached/
The link above includes explanations for how to install Memcached on Ubuntu, how to configure it as cache engine in your Django project and how to use it.
- [Django]-Django.db.migrations.exceptions.InconsistentMigrationHistory
- [Django]-Django: How do I add arbitrary html attributes to input fields on a form?
- [Django]-Implementing Single Sign On (SSO) using Django
Source:stackexchange.com