Remove obsolete compatibility code comment

fix_request_path_info
Hugo Osvaldo Barrera 2015-10-23 20:03:05 -03:00
parent e73a4662c3
commit fb32b97b37
1 changed files with 0 additions and 1 deletions

View File

@ -269,7 +269,6 @@ class PolymorphicParentModelAdmin(admin.ModelAdmin):
def change_view(self, request, object_id, *args, **kwargs): def change_view(self, request, object_id, *args, **kwargs):
"""Redirect the change view to the real admin.""" """Redirect the change view to the real admin."""
# between Django 1.3 and 1.4 this method signature differs. Hence the *args, **kwargs
real_admin = self._get_real_admin(object_id) real_admin = self._get_real_admin(object_id)
return real_admin.change_view(request, object_id, *args, **kwargs) return real_admin.change_view(request, object_id, *args, **kwargs)