mirror of
https://github.com/django/django.git
synced 2025-07-04 09:49:12 +00:00
newforms-admin: Removed some unnecessary code.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
7c70956810
commit
11b6e1eeb7
@ -358,7 +358,5 @@ def inline_formset(parent_model, model, fk_name=None, fields=None, extra=3, orde
|
||||
del FormSet.form_class.base_fields[fk.name]
|
||||
except KeyError:
|
||||
pass
|
||||
FormSet.parent_model = parent_model
|
||||
FormSet.fk_name = fk.name
|
||||
FormSet.fk = fk
|
||||
return FormSet
|
||||
|
Loading…
x
Reference in New Issue
Block a user