[1.6.x] Fixed bad model example in admin docs.
Backport of e7771ec380a116dbef481001fb1ce664f5c7311e from master
This commit is contained in:
parent
5e45c4f7c2
commit
a1a230382d
@ -599,7 +599,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…
x
Reference in New Issue
Block a user