mirror of https://github.com/django/django.git
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
This commit is contained in:
parent
692fd7da5e
commit
a3e2ddde65
|
@ -289,8 +289,6 @@ class BaseGenericInlineFormSet(BaseModelFormSet):
|
||||||
"""
|
"""
|
||||||
A formset for generic inline objects to a parent.
|
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,
|
def __init__(self, data=None, files=None, instance=None, save_as_new=None,
|
||||||
prefix=None, queryset=None):
|
prefix=None, queryset=None):
|
||||||
|
|
Loading…
Reference in New Issue