Permalink
Browse files

[1.6.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 0e37049 commit cddbaca6976a1e6faba8e846b87e27b35e268198
Showing with 1 addition and 1 deletion.
  1. +1 −1 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):

0 comments on commit cddbaca

Please sign in to comment.