diff options
| author | Bryan Marty <bryanmarty@gmail.com> | 2015-10-27 18:37:35 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-10-28 15:44:53 -0400 |
| commit | 455034d4df048010de4ae0a9a2392b70d1463c61 (patch) | |
| tree | f9a3e679f1ebf3b7e4494bc4ffd1723019717ae9 /docs/ref | |
| parent | dbe79d966025e3173557617113e2cca2eb1d1338 (diff) | |
Fixed #21516 -- Updated imports paths for some formset functions/classes.
Since refs #21489, FormSet classes and factories are exposed on the
django.forms package.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index c22987773e..717ff10d49 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -1681,7 +1681,7 @@ templates used by the :class:`ModelAdmin` views: changelist page if :attr:`~ModelAdmin.list_editable` is used. To use a custom formset, for example:: - from django.forms.models import BaseModelFormSet + from django.forms import BaseModelFormSet class MyAdminFormSet(BaseModelFormSet): pass |
