Remove obsolete compatibility code comment
parent
e73a4662c3
commit
fb32b97b37
|
|
@ -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)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue