1
0
mirror of https://github.com/django/django.git synced 2025-04-15 12:54:38 +00:00

[1.7.x] Fixed bad model example in admin docs.

Backport of e7771ec380a116dbef481001fb1ce664f5c7311e from master
This commit is contained in:
Collin Anderson 2015-01-13 11:28:43 -05:00 committed by Tim Graham
parent ef5889409b
commit 6a08020fcf

View File

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