mirror of
https://github.com/django/django.git
synced 2025-06-04 02:59:13 +00:00
Fixed bad model example in admin docs.
This commit is contained in:
parent
e084ff01f2
commit
e7771ec380
@ -676,7 +676,7 @@ subclass::
|
|||||||
|
|
||||||
For example::
|
For example::
|
||||||
|
|
||||||
class Person(object):
|
class Person(models.Model):
|
||||||
first_name = models.CharField(max_length=50)
|
first_name = models.CharField(max_length=50)
|
||||||
last_name = models.CharField(max_length=50)
|
last_name = models.CharField(max_length=50)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user