Skip to content

Commit

Permalink
[1.7.x] Fixed bad model example in admin docs.
Browse files Browse the repository at this point in the history
Backport of e7771ec from master
  • Loading branch information
collinanderson authored and timgraham committed Jan 13, 2015
1 parent ef58894 commit 6a08020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ref/contrib/admin/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ subclass::

For example::

class Person(object):
class Person(models.Model):
first_name = models.CharField(max_length=50)
last_name = models.CharField(max_length=50)

Expand Down

0 comments on commit 6a08020

Please sign in to comment.