django-debug-toolbar/django-debug-toolbar — pull request #361 by shootstar (2013-03-14 07:39:24+00:00)
Title: init patch for redis_logger:template,logging logic might have some space...

[Idea]
Since managing the data was critical for debugging in our project,I briefly write a code for showing "redis" activity information from one request.The information should include "what Key was used" or "what was the Value" or "how fast" or "which function used"..etc

[Further]
1,I really want "expire" information of the key.So might add this feature,which will be available when it was specified to do so( on settings.py).
2,Templates can be better
3,I couldn't use "inherit class and return new class" sort of logic,as in sql or cache,but "replacing a function" sort of logic as instanced StrictRedis wouldn't be shared on one request.I'm wondering there might be more better way than what I implemented.
4,Calling function information might be acquired in more sophisticated way.