diff --git a/django/contrib/contenttypes/generic.py b/django/contrib/contenttypes/generic.py index 602b337e6b..054e8a6246 100644 --- a/django/contrib/contenttypes/generic.py +++ b/django/contrib/contenttypes/generic.py @@ -289,8 +289,6 @@ class BaseGenericInlineFormSet(BaseModelFormSet): """ A formset for generic inline objects to a parent. """ - ct_field_name = "content_type" - ct_fk_field_name = "object_id" def __init__(self, data=None, files=None, instance=None, save_as_new=None, prefix=None, queryset=None):