Skip to content

Instantly share code, notes, and snippets.

@stuross
Created May 23, 2011 19:26
Show Gist options
  • Save stuross/987359 to your computer and use it in GitHub Desktop.
Save stuross/987359 to your computer and use it in GitHub Desktop.
class Content(ContentBase):
headline = models.CharField((u'Homepage headline'), max_length=255, blank=True, null=True)
placement_category = models.ForeignKey(Category, blank=True, null=True)
published_objects = PublishedManager()
class Meta:
verbose_name_plural = "Content"
ordering = ['-pub_date']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment