+class Work(models.Model):
+ name = models.CharField(max_length=100,
+ help_text="Name of the context for the quote \
+ (title of the work or speech it appears in)")
+ author = models.ForeignKey(Author)
+ date = models.DateField(blank=True, null=True,
+ help_text="Date of the quote")
+ tags = models.ManyToManyField(Tag, blank=True)
+
+ notes = models.TextField(blank=True, help_text= \
+ "Notes about the work; may be left blank. Will \
+ not be HTML-escaped. XXX: offer a WYSIWYG editor")
+ pvt_notes = models.TextField(blank=True, help_text= \
+ "Notes about the work; not displayed on \
+ the public interface")