diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-07-07 13:23:57 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-07-07 13:23:57 +0000 |
| commit | 1e747f98af99a23c5aff7b460d5b845c3a9e2013 (patch) | |
| tree | 6347c27684a68cf1ef76b92808aa9309b0688797 /docs/forms.txt | |
| parent | 7ed1a919681b5b028c3f6eef1a862ff91b66feb2 (diff) | |
newforms-admin: Merged from trunk up to [5625]. This includes the Unicode
merge, however, not all of admin/ (and none of admindocs/) has been ported and
checked yet.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@5627 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/forms.txt')
| -rw-r--r-- | docs/forms.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/forms.txt b/docs/forms.txt index f6cb55a3f6..18d3d3fcbe 100644 --- a/docs/forms.txt +++ b/docs/forms.txt @@ -47,7 +47,7 @@ this document, we'll be working with the following model, a "place" object:: class Admin: pass - def __str__(self): + def __unicode__(self): return self.name Defining the above class is enough to create an admin interface to a ``Place``, |
