provides parametized conditions

* tests passed on py27 (not tested for 33)
* django 1.5 compliant
* doc not updated