updated url conf and pagination to work on django1.5