diff options
| author | Collin Anderson <cmawebsite@gmail.com> | 2015-01-13 11:28:43 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-01-13 11:53:03 -0500 |
| commit | e7771ec380a116dbef481001fb1ce664f5c7311e (patch) | |
| tree | 196ce2d59f9ca69e85769973e12c65a91af855e0 /docs/ref | |
| parent | e084ff01f27a28717eef471ff8e86b074d452f44 (diff) | |
Fixed bad model example in admin docs.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 490dd5b49d..bb72f3fe55 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -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) |
