Permalink
Browse files

Fixed #22575 -- Fixed typo in docs/topics/class-based-views/generic-e…

…diting.txt.

Thanks adminq80 at gmail.com.
  • Loading branch information...
timgraham committed May 5, 2014
1 parent 5e1f465 commit 87776859affc45b9b485d8377c046dd464aaeef4
Showing with 1 addition and 1 deletion.
  1. +1 −1 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):

0 comments on commit 8777685

Please sign in to comment.