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