mirror of https://github.com/django/django.git
c74504c2dd
Updated ModelAdmin to use form.instance when passing parent model to child inlines for add_view. There is effectively no change in the change_view since the previously passed 'obj' is the same as form.instance. Thanks to meshy for report, and EvilDMP and timo for review. |
||
---|---|---|
.. | ||
fixtures | ||
templates | ||
__init__.py | ||
admin.py | ||
customadmin.py | ||
forms.py | ||
models.py | ||
tests.py | ||
urls.py | ||
views.py |