Update pagination.
Added some notes about the django SCRIPT_NAME handling.