Removed css_path argument from wagtailuserbar template tag

This commit is contained in:
Karl Hobley 2014-08-18 15:15:11 +01:00
parent 72ffe88d38
commit a05419bfd1

View file

@ -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']