id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 11454 ModelAdmin documentation correction m0nonoke nobody "For the url http://docs.djangoproject.com/en/dev/ref/contrib/admin/#modeladmin-options The section '''OTHER METHODS > ModelAdmin.history_view''' Code example {{{ class MyModelAdmin(admin.ModelAdmin): # A template for a very customized change view: change_form_template = 'admin/myapp/extras/openstreetmap_change_form.html' def get_osm_info(self): # ... def change_view(self, request, object_id, extra_context=None): my_context = { 'osm_data': self.get_osm_info(), } return super(MyModelAdmin, self).change_view(request, object_id, extra_context=my_context)) }}} '''On the last line brackets do not balance.''' " closed Documentation dev fixed typo Ready for checkin 1 0 0 0 0 0