1
0
mirror of https://github.com/django/django.git synced 2025-03-28 02:00:45 +00:00

Fixed bad model example in admin docs.

This commit is contained in:
Collin Anderson 2015-01-13 11:28:43 -05:00 committed by Tim Graham
parent e084ff01f2
commit e7771ec380

View File

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