extra verbose help_text
This commit is contained in:
parent
20fadccaa4
commit
7dffe01de0
|
@ -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")
|
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?")
|
has_comments = models.BooleanField(default=False, help_text="Will there be comments attached to this?")
|
||||||
buttons = models.ManyToManyField('ModelButton', through='ModelExtraButton', blank=True)
|
buttons = models.ManyToManyField('ModelButton', through='ModelExtraButton', blank=True)
|
||||||
has_list = models.BooleanField(default=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)
|
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):
|
def __unicode__(self):
|
||||||
return self.friendly_name
|
return self.friendly_name
|
||||||
|
|
Loading…
Reference in New Issue
Block a user