0
Solved.
Django was talking to the server.
I did “nc IPADRESS 11211” .
And typed “stats”
Then, I looked that cmd_get and cmd_set were changing, so that means it’s talking.
Then, I realized that I had problem with code in my views.
You can’t have “space” in the key. It has to be non-spaceless (and encoded)
2
You can insure that you can reach memcached from your code by logging value returned from set()
method. Probably memcached listens on 127.0.0.1 while you are trying to connect to external interface.
- [Answered ]-What is the best approach to keep many different django model type choices DRY?
- [Answered ]-Creating elasticsearch-dsl DocType objects from dict or json
- [Answered ]-Rest framework token authentication without header
Source:stackexchange.com