0
0
mirror of https://github.com/django/django.git synced 2024-11-29 14:46:18 +01:00

Fixed #22575 -- Fixed typo in docs/topics/class-based-views/generic-editing.txt.

Thanks adminq80 at gmail.com.
This commit is contained in:
Tim Graham 2014-05-05 06:41:01 -04:00
parent 5e1f4656b9
commit 87776859af

View File

@ -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):