when setting up Django to use Memcached for caching (in my case, I want to to use session caching), in settings.py
we set
CACHES = {
\'default\
The location should be set as your ip and port where your memcache daemon is running.
Check this in django official documentation.
Set LOCATION to ip:port values, where ip is the IP address of the Memcached daemon and port is the port on which Memcached is running, or to a unix:path value, where path is the path to a Memcached Unix socket file.
https://docs.djangoproject.com/en/dev/topics/cache/