Fix datagrid pagination on Django 1.5.

Review Request #4686 — Created Oct. 6, 2013 and submitted — Latest diff uploaded

Information

Djblets
master

Reviewers

Fix datagrid pagination on Django 1.5.

Django 1.5 didn't like how we were attempting to access a variable in
the context that didn't exist, and would fail with a traceback.

We now guarantee that these variables always exist.

I could see the datagrid again, instead of a big exception, when it was
paginating.