From 4bc4aa2fa6d9fd6eabc8f03f888c9ae88a2d1cbe Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sat, 6 May 2006 03:32:01 +0000 Subject: [PATCH] Fixed #1779 -- Fixed typo in docs/db-api.txt. Thanks, bde3@cornell.edu git-svn-id: http://code.djangoproject.com/svn/django/trunk@2854 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/db-api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/db-api.txt b/docs/db-api.txt index 39a5098da4..a25a374bbc 100644 --- a/docs/db-api.txt +++ b/docs/db-api.txt @@ -22,7 +22,7 @@ a weblog application:: name = models.CharField(maxlength=50) email = models.URLField() - class __str__(self): + def __str__(self): return self.name class Entry(models.Model):