Fixed bad model example in admin docs.
This commit is contained in:
parent
e084ff01f2
commit
e7771ec380
|
@ -676,7 +676,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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue