mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed bad model example in admin docs.
This commit is contained in:
parent
e084ff01f2
commit
e7771ec380
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue