Fixed bug when rendering change form in admin site in django 1.3+

This fix makes the admin site work, by setting the context for the template in the right place when using django 1.3+