forked from rc/aircox
section_link.template_name
This commit is contained in:
parent
3d5c183e79
commit
6ff4b2cabb
|
@ -870,7 +870,7 @@ class SectionLink(RelatedLinkBase,TemplateMixin):
|
||||||
Render a link to a page or a given url.
|
Render a link to a page or a given url.
|
||||||
Can either be used standalone or in a SectionLinkList
|
Can either be used standalone or in a SectionLinkList
|
||||||
"""
|
"""
|
||||||
template = 'aircox_cms/snippets/link.html'
|
template_name = 'aircox_cms/snippets/link.html'
|
||||||
parent = ParentalKey(
|
parent = ParentalKey(
|
||||||
'SectionLinkList', related_name = 'links',
|
'SectionLinkList', related_name = 'links',
|
||||||
null = True
|
null = True
|
||||||
|
|
Loading…
Reference in New Issue
Block a user