Misc cleanup

This commit is contained in:
Jeremy Stretch
2019-04-19 14:56:40 -04:00
parent acaa3c2663
commit 94837647d7
3 changed files with 11 additions and 3 deletions

View File

@@ -86,6 +86,10 @@ class CustomLinkForm(forms.ModelForm):
class Meta:
model = CustomLink
exclude = []
help_texts = {
'text': 'Jinja2 template code for the link text. Reference the object as <code>{{ obj }}</code>.',
'url': 'Jinja2 template code for the link URL. Reference the object as <code>{{ obj }}</code>.',
}
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)