code edited to support python3
examples edited to support python3
changed session serializer in examples to make examples work with django >= 1.6
fixed bug in example template