Render explicit pk_filed if need be.

This is a fix that was done in the main template in 1.6 that needs to be
done in this as well.

Bug is: https://github.com/kmtracey/django/commit/9e5519f50536288db2ae0c6fa4b95193788dfb7a
Pass proper argumnets.
Popup query param changed in django 1.6
Force a django version of 1.6 or higher