summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Kocherhans <joseph@jkocherhans.com>2010-02-22 15:48:19 +0000
committerJoseph Kocherhans <joseph@jkocherhans.com>2010-02-22 15:48:19 +0000
commita3e2ddde65d17f9683eb2d5ea5e9da89d16b385c (patch)
treec7078e01945f0e56ef42fadd8d9378fb44c47f32
parent692fd7da5e5bfe1533c40f94999ea42f9b986356 (diff)
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
-rw-r--r--django/contrib/contenttypes/generic.py2
1 files changed, 0 insertions, 2 deletions
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):