mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-09 07:54:44 +00:00
Removed css_path argument from wagtailuserbar template tag
This commit is contained in:
parent
72ffe88d38
commit
a05419bfd1
1 changed files with 1 additions and 7 deletions
|
|
@ -12,13 +12,7 @@ register = template.Library()
|
|||
|
||||
|
||||
@register.simple_tag(takes_context=True)
|
||||
def wagtailuserbar(context, css_path=None):
|
||||
if css_path is not None:
|
||||
warnings.warn(
|
||||
"Passing a CSS path to the wagtailuserbar tag is no longer required; use {% wagtailuserbar %} instead",
|
||||
RemovedInWagtail06Warning
|
||||
)
|
||||
|
||||
def wagtailuserbar(context):
|
||||
# Find request object
|
||||
request = context['request']
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue