Permalink
Browse files

[1.5.x] Fixed #22575 -- Fixed typo in docs/topics/class-based-views/g…

…eneric-editing.txt.

Thanks adminq80 at gmail.com.

Backport of 8777685 from master
  • Loading branch information...
timgraham committed May 5, 2014
1 parent 73136a8 commit 41ab97b6a4e785a35b6199134aad39091b6b1aab
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/class-based-views/generic-editing.txt
@@ -168,7 +168,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):

0 comments on commit 41ab97b

Please sign in to comment.