mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	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:
		| @@ -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): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user