mirror of
https://github.com/django/django.git
synced 2025-08-09 21:38:18 +00:00
[1.6.x] Fixed #22575 -- Fixed typo in docs/topics/class-based-views/generic-editing.txt.
Thanks adminq80 at gmail.com.
Backport of 87776859af
from master
This commit is contained in:
parent
0e37049636
commit
cddbaca697
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue