Fixed typo in pagination code snippet for docs/pagination

In the "Beware the page one edge-case" section there is a typo in this code snippet:

  {% for page in (1..paginator.total_pages) %}

should be 

  {% for page in (1.paginator.total_pages) %}

Took out the extra period in the code that was causing an error when used.