From 87776859affc45b9b485d8377c046dd464aaeef4 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 5 May 2014 06:41:01 -0400 Subject: [PATCH] Fixed #22575 -- Fixed typo in docs/topics/class-based-views/generic-editing.txt. Thanks adminq80 at gmail.com. --- 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 74d19d53b1..059342afd8 100644 --- a/docs/topics/class-based-views/generic-editing.txt +++ b/docs/topics/class-based-views/generic-editing.txt @@ -180,7 +180,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):