Skip to content
Browse files

[1.1.X] Fixed #12570. Removed unused fields from GenericForeignKey. B…

…ackport of r12492 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 8b415e7 commit 8c4f16657fd77de0a37b5658e5f9f5bee6a5bcb9 @jkocherhans jkocherhans committed
Showing with 0 additions and 2 deletions.
  1. +0 −2 django/contrib/contenttypes/generic.py
View
2 django/contrib/contenttypes/generic.py
@@ -291,8 +291,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):

0 comments on commit 8c4f166

Please sign in to comment.
Something went wrong with that request. Please try again.