Brand¶
Bases:
LinkThe brand for the navbar, typically the site’s logo or name
You can pass
LinkorViewas the source link, andAttributes Summary
Whether the link is active.
Whether the link is enabled.
The ID of the brand
The link to display, either a URL or a view
The URL for the link.
Methods Summary
__tag__()element_state(tag)with_url(url, text, **kwargs)Create a link with a URL.
with_view(endpoint, text, **kwargs)Create a link with a view.
Attributes Documentation
Whether the link is active.
Whether the link is enabled.
The ID of the brand
The link to display, either a URL or a view
The URL for the link.
Methods Documentation
Create a link with a URL.
Create a link with a view.