]> gitweb.fperrin.net Git - djsite.git/blobdiff - quotes/models.py
Add the possibility of attaching notes to an author
[djsite.git] / quotes / models.py
index 9791aa0b093b00eb924a76d8b0b52e1ac98574b2..53afcbe246a20f61e2c1c03767de029739540fca 100644 (file)
@@ -4,6 +4,9 @@ from django.db import models
 
 class Author(models.Model):
     name = models.CharField(max_length=100)
+    notes = models.TextField(blank=True, help_text= \
+                             "Notes for the author; may be left blank. Will \
+                              not be HTML-escaped.")
 
     def __unicode__(self):
         return self.name