From a3e2ddde65d17f9683eb2d5ea5e9da89d16b385c Mon Sep 17 00:00:00 2001 From: Joseph Kocherhans Date: Mon, 22 Feb 2010 15:48:19 +0000 Subject: [PATCH] Fixed #12570. Removed unused fields from GenericForeignKey. Thanks, specialunderwear. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12492 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/contenttypes/generic.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/django/contrib/contenttypes/generic.py b/django/contrib/contenttypes/generic.py index 602b337e6bf..054e8a62468 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):