From 6a6f294f518a96334c73b2e5f934cdd2f0feda7e Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 5 May 2014 06:41:01 -0400 Subject: [PATCH] [1.7.x] Fixed #22575 -- Fixed typo in docs/topics/class-based-views/generic-editing.txt. Thanks adminq80 at gmail.com. Backport of 87776859af from master --- docs/topics/class-based-views/generic-editing.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/class-based-views/generic-editing.txt b/docs/topics/class-based-views/generic-editing.txt index f12672df69..30e2dac787 100644 --- a/docs/topics/class-based-views/generic-editing.txt +++ b/docs/topics/class-based-views/generic-editing.txt @@ -181,7 +181,7 @@ you can use a custom :class:`~django.forms.ModelForm` to do this. First, add the foreign key relation to the model:: # models.py - from django.contrib.auth import User + from django.contrib.auth.models import User from django.db import models class Author(models.Model):