1. nowells
  2. django-lifestream

Commits

Ian Lewis  committed d8e2fb2

Updated help_text

  • Participants
  • Parent commits 5a78ddc
  • Branches default

Comments (0)

Files changed (1)

File lifestream/models.py

View file
     feed = models.ForeignKey(Feed, verbose_name=_("feed"))
     date = models.DateTimeField(_("date"))
     title = models.CharField(_("title"), max_length=255)
-    content = models.TextField(_("content"), null=True, blank=True)
+    content = models.TextField(_("content"), null=True, blank=True, help_text=_("Rich item content. Could be html based on the content type. This html is escaped."))
     content_type = models.CharField(_("content type"), max_length=255, null=True, blank=True)
-    clean_content = models.TextField(null=True, blank=True)
+    clean_content = models.TextField(null=True, blank=True, help_text=_("Cleaned, plain text version of the item content."))
     author = models.CharField(_("author"), max_length=255, null=True, blank=True)
-    permalink = models.URLField(_("permalink"),max_length=1000)
+    permalink = models.URLField(_("permalink"),max_length=1000, help_text=_("Permalink to the original item."))
     media_url = models.URLField(_("media url"),max_length=1000, null=True, blank=True)
     media_thumbnail_url = models.URLField(_("media thumbnail url"), max_length=1000, null=True, blank=True)
     media_player_url = models.URLField(_("media player url"), max_length=1000, null=True, blank=True)