From 44f177b5cdab82ffefa81abd3e9c2a13aaab256f Mon Sep 17 00:00:00 2001 From: Bryan Marty Date: Tue, 27 Oct 2015 18:37:35 -0700 Subject: [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 --- docs/ref/contrib/admin/index.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/ref') 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 -- cgit v1.3