Skip to content

Commit

Permalink
Fixed #22575 -- Fixed typo in docs/topics/class-based-views/generic-e…
Browse files Browse the repository at this point in the history
…diting.txt.

Thanks adminq80 at gmail.com.
  • Loading branch information
timgraham committed May 5, 2014
1 parent 5e1f465 commit 8777685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/class-based-views/generic-editing.txt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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:: the foreign key relation to the model::


# models.py # models.py
from django.contrib.auth import User from django.contrib.auth.models import User
from django.db import models from django.db import models


class Author(models.Model): class Author(models.Model):
Expand Down

0 comments on commit 8777685

Please sign in to comment.