Fix next url generation.
Drop python 2.6 support.
Drop django 1.4 support.
Merge pull request #14 from pazur/fixnext

Fix next url generation.