- 17 Aug, 2011 1 commit
-
-
Sean Bleier authored
Added the ability to use tcp sockets or unix domain sockets. Also added the ability to specify a parser to use when processing responses from the redis server. To do this I had to bring back the custom connection pool, since you need to instantiate a custom connection pool to be able to specify a parser class.
-
- 09 Aug, 2011 3 commits
-
-
Sean Bleier authored
-
Ales Zoulek authored
-
Ales Zoulek authored
-
- 27 Jul, 2011 2 commits
-
-
Sean Bleier authored
Nudged to version 0.8.2. Addresses handling of integers when using the 'get_many' method. Fixes issue #20 on github.
-
Sean Bleier authored
-
- 22 Jul, 2011 7 commits
-
-
Sean Bleier authored
Nudged to version 0.8.1, added ability to pickle the cache class. Added James Aylett to authors file.
-
Sean Bleier authored
-
Sean Bleier authored
Make cache object picklable.
-
James Aylett authored
-
Sean Bleier authored
-
Sean Bleier authored
-
Sean Bleier authored
To do this, we need to keep integers untouched while pickling any other type of value. Existing tests should prove that the native incr is working, but I added a test to show that if an integer was pickled and native incr is used, then the cache backend will convert the pickled integer correctly.
-
- 13 Jul, 2011 3 commits
-
-
Sean Bleier authored
-
Ales Zoulek authored
-
Ales Zoulek authored
-
- 08 Jul, 2011 2 commits
-
-
Ales Zoulek authored
The are two reasons: * django already implements CacheClass instance as singleton, we don't need to reimplement that * connection pool in redis.py is already tested, we shouldn't have to test it again * default keywargs charset='utf-8' and errors='strict' are defaults in redis.py, se we don't need to copy it over
-
Ales Zoulek authored
Users should handle django.core.exceptions.ImproperlyConfigured better then a custom exception with the same name
-
- 07 Jul, 2011 4 commits
-
-
Ales Zoulek authored
-
Ales Zoulek authored
-
Ales Zoulek authored
Since redis 2.1 EXPIRE command should not return false if key exists
-
Ales Zoulek authored
Django is using timeout=0 to use default timeout value. Using timeout=0 to set non-volatile keys conflicts with django API.
-
- 22 Jun, 2011 2 commits
-
-
Sean Bleier authored
Let's raise exceptions when provided bad db and port values. Also Fixed tests and bumped version. Thanks to Lior Sion
-
Lior Sion authored
-
- 20 Jun, 2011 1 commit
-
-
Sean Bleier authored
-
- 18 Jun, 2011 3 commits
-
-
Sean Bleier authored
-
Sean Bleier authored
-
Sean Bleier authored
Created connection pool that lives across requests so that we can reuse connections. Removed close method, since we don't want to close connections at the end of a request.
-
- 17 Jun, 2011 2 commits
-
-
Timothée Peignier authored
-
Timothée Peignier authored
-
- 15 Jun, 2011 1 commit
-
-
Sean Bleier authored
-
- 21 Apr, 2011 2 commits
-
-
Sean Bleier authored
-
Sean Bleier authored
-
- 04 Mar, 2011 1 commit
-
-
Sean Bleier authored
-
- 23 Jan, 2011 1 commit
-
-
Sean Bleier authored
-
- 22 Jan, 2011 2 commits
-
-
Sean Bleier authored
-
Sean Bleier authored
We can't inherit a class from a basestring and instantiate it, so I changed the base class to 'object' so we can still to the type checking. I also discovered a bug with the Django 1.3 compatibility work. In the incr_version method, we were using the Redis's rename function to move the key, but in Redis 2.0 you cannot rename a volitile key. Added some moar authors
-
- 21 Jan, 2011 2 commits
-
-
Jannis Leidel authored
-
Jannis Leidel authored
Separated the 1.3 compatible cache class from the rest of the code and reverted a few unneeded changes. This also handles the key better internally to prevent multiple "making" of the key.
-
- 14 Jan, 2011 1 commit
-
-
Stéphane Angel authored
-