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:46:45 -0400 |
| commit | 44f177b5cdab82ffefa81abd3e9c2a13aaab256f (patch) | |
| tree | ce72d8da48851b69948d0295cd4b80b0bb197075 /docs/ref | |
| parent | 46850e2c850b50279c946b4078601f2b41ef7554 (diff) | |
[1.9.x] Fixed #21516 -- Updated imports paths for some formset functions/classes.
Since refs #21489, FormSet classes and factories are exposed on the
django.forms package.
Backport of 455034d4df048010de4ae0a9a2392b70d1463c61 from master
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 605601147f..11e4ccd504 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -1685,7 +1685,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 |
