1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

[1.6.x] Fixed bad model example in admin docs.

Backport of e7771ec380 from master
This commit is contained in:
Collin Anderson
2015-01-13 11:28:43 -05:00
committed by Tim Graham
parent 5e45c4f7c2
commit a1a230382d

View File

@@ -599,7 +599,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)