extra verbose help_text

This commit is contained in:
Sanj 2011-09-06 08:36:14 +05:30
parent 20fadccaa4
commit 7dffe01de0

View File

@ -41,8 +41,8 @@ class ModelExtra(models.Model):
friendly_name = models.CharField(max_length=128, help_text="Used as display name in Admin, never to user. eg. Best Practices FAQ")
has_comments = models.BooleanField(default=False, help_text="Will there be comments attached to this?")
buttons = models.ManyToManyField('ModelButton', through='ModelExtraButton', blank=True)
has_list = models.BooleanField(default=True)
default_image = models.ImageField(upload_to='upload/images/model_defaults/', max_length=255, blank=True)
has_list = models.BooleanField(default=True, help_text="Is there an LHS listing for this?")
default_image = models.ImageField(upload_to='upload/images/model_defaults/', max_length=255, blank=True, help_text="Default image to show if, either, item has no image, or image to display if model does not have LHS list.")
def __unicode__(self):
return self.friendly_name